Browse Source

fix score reset

Arnaud Vergnet 2 months ago
parent
commit
32fc6ad64a
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      mini-game/MiniGame.gd

+ 1
- 0
mini-game/MiniGame.gd View File

@@ -34,6 +34,7 @@ func _ready():
34 34
 
35 35
 func setup(mode: String, goal: int, difficulty: String, next_lose: String, next_win: String, version: int):
36 36
 	game_goal = goal
37
+	current_goal = 0
37 38
 	if(difficulty == "hard"):
38 39
 		game_difficulty = "hard"
39 40
 	else:

Loading…
Cancel
Save