Skip to content

Commit

Permalink
make click handler public to allow forced behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
AlchlcDvl committed Oct 8, 2024
1 parent 0a61f09 commit 879113b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MiraAPI/Hud/CustomActionButton.cs
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ public virtual void SetActive(bool visible, RoleBehaviour role)
/// This method takes into account cooldowns, effects, and uses, before calling the <see cref="OnClick"/> method.
/// It can be overridden for custom behavior.
/// </summary>
protected virtual void ClickHandler()
public virtual void ClickHandler()
{
if (!CanUse())
{
Expand Down

0 comments on commit 879113b

Please sign in to comment.