oops i forgot to remove that

This commit is contained in:
GGod 2024-01-03 22:17:26 +01:00
parent 5524e62aa9
commit 2ed2f23afe
1 changed files with 1 additions and 3 deletions

View File

@ -1396,9 +1396,7 @@ class GameScreen {
}
onKey(ev) {
if (!this.menuScreen) {
player.update(ev);
} else {
if (this.menuScreen) {
this.menuScreen.onKey(ev);
}
}