Alors, tiens tiens tiens #2
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user