Fixed auto jump when unpausing

This commit is contained in:
2018-08-22 16:25:34 +02:00
parent 7f9a6432ab
commit 52ec8dc37e
+2
View File
@@ -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;
}
}