Alors, tiens tiens tiens

ajout d'un console.log pour voir le score finale
This commit is contained in:
le FAST 2022-10-18 06:57:32 +00:00
parent 0e2ba86c10
commit 6a92e289af

View File

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