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

@@ -13,7 +13,7 @@ public class NeutralKillerButton : CustomActionButton
public override string Name => "Win Game";
public override float Cooldown => 0f;
public override LoadableAsset<Sprite> Sprite => ExampleAssets.ExampleButton;
public override KeyboardKeyCode Defaultkeybind => KeyboardKeyCode.K;
public override KeyboardKeyCode DefaultKeybind => KeyboardKeyCode.K;
protected override void OnClick()
{
CustomGameOver.Trigger<NeutralKillerGameOver>([PlayerControl.LocalPlayer.Data]);