oops i forgot to remove that
This commit is contained in:
parent
5524e62aa9
commit
2ed2f23afe
|
|
@ -1396,9 +1396,7 @@ class GameScreen {
|
|||
}
|
||||
|
||||
onKey(ev) {
|
||||
if (!this.menuScreen) {
|
||||
player.update(ev);
|
||||
} else {
|
||||
if (this.menuScreen) {
|
||||
this.menuScreen.onKey(ev);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue