Skip to content

Commit eaed890

Browse files
committed
Disable Debug Keys
1 parent 7ea76f9 commit eaed890

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Scenes/BattleDirector/Scripts/BattleDirector.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,7 @@ public override void _UnhandledInput(InputEvent @event)
199199
{
200200
if (@event is InputEventKey eventKey && eventKey.Pressed && !eventKey.Echo)
201201
{
202+
return;
202203
if (eventKey.Keycode == Key.Key0)
203204
{
204205
DebugKillEnemy();

Scenes/UI/TitleScreen/Scripts/TitleScreen.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ public override void _UnhandledInput(InputEvent @event)
2222
{
2323
if (@event is InputEventKey eventKey && eventKey.Pressed && !eventKey.Echo)
2424
{
25+
return;
2526
if (eventKey.Keycode == Key.Key0)
2627
{
2728
SteamWhisperer.ResetAll();

0 commit comments

Comments
 (0)