initial cooldown zero in freeplay

This commit is contained in:
XtraCube committed 2025-01-29 18:07:04 -05:00
1 parent 3538bea933
commit d5ac231811
1 file changed
+1 -1
+1 -1
View File
@@ -87,7 +87,7 @@ public abstract class CustomActionButton
}
UsesLeft = MaxUses;
Timer = InitialCooldown;
Timer = AmongUsClient.Instance?.NetworkMode == NetworkModes.FreePlay ? 0 : InitialCooldown;
EffectActive = false;
Button = Object.Instantiate(HudManager.Instance.AbilityButton, parent);