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