From 6a92e289af3fe62d648e4cffbe15a2ae5b41e703 Mon Sep 17 00:00:00 2001 From: le FAST Date: Tue, 18 Oct 2022 06:57:32 +0000 Subject: [PATCH] Alors, tiens tiens tiens ajout d'un console.log pour voir le score finale --- assets/js/game_manager.js | 1 + 1 file changed, 1 insertion(+) diff --git a/assets/js/game_manager.js b/assets/js/game_manager.js index 1c13d15..7160285 100644 --- a/assets/js/game_manager.js +++ b/assets/js/game_manager.js @@ -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());