Compare commits
4 Commits
dev
...
c59a35cf62
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c59a35cf62 | ||
|
|
61a098e7a8 | ||
|
|
6a92e289af | ||
|
|
0e2ba86c10 |
@@ -83,6 +83,7 @@ GameManager.prototype.actuate = function () {
|
||||
|
||||
// Clear the state when the game is over (game over only, not win)
|
||||
if (this.over) {
|
||||
console.log("over "+this.score);
|
||||
this.storageManager.clearGameState();
|
||||
} else {
|
||||
this.storageManager.setGameState(this.serialize());
|
||||
|
||||
Reference in New Issue
Block a user