summaryrefslogtreecommitdiff
path: root/game.js
diff options
context:
space:
mode:
authorJ08nY2016-04-18 09:39:03 +0200
committerJ08nY2016-04-18 09:39:03 +0200
commit183ca08ee92852e641ffccfa19b12fe67b9e912a (patch)
treeaf83773b651e2e67435698646e8bbcf678c76c7d /game.js
parentb6f7c193221e21ccd27c50b66aede8a4c0b7d736 (diff)
downloadld35-master.tar.gz
ld35-master.tar.zst
ld35-master.zip
Diffstat (limited to 'game.js')
-rw-r--r--game.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/game.js b/game.js
index 86e3205..442a150 100644
--- a/game.js
+++ b/game.js
@@ -768,6 +768,9 @@ var Game = (function () {
return;
}
}
+ else {
+ result = true; //fix last level not winning
+ }
this.level.dispose();
window.removeEventListener("resize", this.onWindowResize, false);
var blocker = document.getElementById("block");