Fixed auto jump when unpausing
This commit is contained in:
parent
7f9a6432ab
commit
52ec8dc37e
|
@ -286,9 +286,11 @@ class Scene extends Screen {
|
|||
if (this.started) {
|
||||
if (this.status === Status.Running && isInBox(position(e), this.makePauseBox())) {
|
||||
this.status = Status.Paused;
|
||||
return;
|
||||
} else if (this.status === Status.Paused) {
|
||||
this.status = Status.Waking;
|
||||
this.wakingTimer = 3;
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue