From 879113b916d108ed3e24d44e4b404cff03e31b89 Mon Sep 17 00:00:00 2001 From: AlchlcDvl <56699741+AlchlcDvl@users.noreply.github.com> Date: Tue, 8 Oct 2024 16:41:09 -0400 Subject: [PATCH] make click handler public to allow forced behaviour --- MiraAPI/Hud/CustomActionButton.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MiraAPI/Hud/CustomActionButton.cs b/MiraAPI/Hud/CustomActionButton.cs index c80adef..7ba033c 100644 --- a/MiraAPI/Hud/CustomActionButton.cs +++ b/MiraAPI/Hud/CustomActionButton.cs @@ -245,7 +245,7 @@ public virtual void SetActive(bool visible, RoleBehaviour role) /// This method takes into account cooldowns, effects, and uses, before calling the method. /// It can be overridden for custom behavior. /// - protected virtual void ClickHandler() + public virtual void ClickHandler() { if (!CanUse()) {