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