From 14f598c905e7dc0ba11e055c2a81291b484fd9aa Mon Sep 17 00:00:00 2001 From: Evert Prants Date: Fri, 29 Nov 2019 20:46:44 +0200 Subject: [PATCH] Fix goal calculcation #2 --- src/game.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/game.js b/src/game.js index 6a48af4..f0c532e 100644 --- a/src/game.js +++ b/src/game.js @@ -146,6 +146,7 @@ export class Game { setTimeout(() => { this.currentLevel = 0 this.score = 0 + this.goal = 0 this.lastGoal = 0 this.nextLevel() this.state = 0