Fix goal calculcation #2

This commit is contained in:
Evert Prants 2019-11-29 20:46:44 +02:00
parent 5d3856f95a
commit 14f598c905
Signed by: evert
GPG Key ID: 1688DA83D222D0B5

View File

@ -146,6 +146,7 @@ export class Game {
setTimeout(() => { setTimeout(() => {
this.currentLevel = 0 this.currentLevel = 0
this.score = 0 this.score = 0
this.goal = 0
this.lastGoal = 0 this.lastGoal = 0
this.nextLevel() this.nextLevel()
this.state = 0 this.state = 0