Fix DefaultKeybind name + remove requirement

By default, buttons will use no keybind, and will not add a new keybind option in doing so.
This commit is contained in:
Atony committed 2025-08-17 20:40:03 -05:00
1 parent 453259df98
commit ce15e93e59
6 files changed
+12 -7

No files matched your search

@@ -22,7 +22,7 @@ public class TeleportButton : CustomActionButton
public override LoadableAsset<Sprite> Sprite => ExampleAssets.TeleportButton;
public override Color TextOutlineColor => new Color32(221, 176, 152, 255);
public static bool IsZoom { get; private set; }
public override KeyboardKeyCode Defaultkeybind => KeyboardKeyCode.M;
public override KeyboardKeyCode DefaultKeybind => KeyboardKeyCode.M;
public override bool Enabled(RoleBehaviour? role)
{
return role is TeleporterRole;