From 2ed2f23afe9f8226b6f8b2266ddc7052dda7806f Mon Sep 17 00:00:00 2001 From: GGod <46885632+GGodPL@users.noreply.github.com> Date: Wed, 3 Jan 2024 22:17:26 +0100 Subject: [PATCH] oops i forgot to remove that --- mods/chess.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/mods/chess.js b/mods/chess.js index c5d1d0d6..83be06f1 100644 --- a/mods/chess.js +++ b/mods/chess.js @@ -1396,9 +1396,7 @@ class GameScreen { } onKey(ev) { - if (!this.menuScreen) { - player.update(ev); - } else { + if (this.menuScreen) { this.menuScreen.onKey(ev); } }