1
0
Fork 0

Merge pull request 'Alors, tiens tiens tiens' (#2) from jeffcheasey88-patch-1 into master

Reviewed-on: EndMove/EndG-2048#2
Reviewed-by: Jérémi N ‘EndMove’ <endmove@noreply@endmove.eu>
This commit is contained in:
le FAST 2022-10-18 07:00:15 +00:00
commit 61a098e7a8
1 changed files with 1 additions and 0 deletions

View File

@ -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());