aboutsummaryrefslogtreecommitdiffstats
path: root/godot/scenes/Game.gd
diff options
context:
space:
mode:
authorLibravatar IcECreAm777 <31211782+IcECreAm777@users.noreply.github.com>2022-07-17 04:32:58 +0200
committerLibravatar IcECreAm777 <31211782+IcECreAm777@users.noreply.github.com>2022-07-17 04:32:58 +0200
commit7e66ac4ff518e6aa091c7ccfe567e31fa1f51994 (patch)
treedafa109d8d7473f1e8add0c05e3f5b8140165ae0 /godot/scenes/Game.gd
parentb48d4853d0e6a6c627043f53e100354e523c29c1 (diff)
download2022-7e66ac4ff518e6aa091c7ccfe567e31fa1f51994.tar.gz
2022-7e66ac4ff518e6aa091c7ccfe567e31fa1f51994.tar.bz2
2022-7e66ac4ff518e6aa091c7ccfe567e31fa1f51994.zip
made sure strokes are updated after each one
Diffstat (limited to '')
-rw-r--r--godot/scenes/Game.gd1
1 files changed, 1 insertions, 0 deletions
diff --git a/godot/scenes/Game.gd b/godot/scenes/Game.gd
index 8b86263..f53c39a 100644
--- a/godot/scenes/Game.gd
+++ b/godot/scenes/Game.gd
@@ -60,6 +60,7 @@ func revoke_stroke():
func open_scoreboard():
+ strokes_per_level[current_level_id] = current_strokes
$Scoreboard.update_values(strokes_per_level, PAR)
$Scoreboard.show()