Merge pull request 'Alors, tiens tiens tiens' (#2) from jeffcheasey88-patch-1 into master
Reviewed-on: #2 Reviewed-by: Jérémi N ‘EndMove’ <endmove@noreply@endmove.eu>
This commit was merged in pull request #2.
This commit is contained in:
@@ -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());
|
||||||
|
|||||||
Reference in New Issue
Block a user