Merge pull request #225 from GGodPL/main

quick chess.js fix
This commit is contained in:
slweeb 2024-01-04 13:30:49 -05:00 committed by GitHub
commit 4debb0b764
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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);
}
}