aboutsummaryrefslogtreecommitdiff
path: root/client/menu/overlay.gd
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-07-23 13:36:56 +0200
committermetamuffin <metamuffin@disroot.org>2024-07-23 13:36:56 +0200
commit065de2ddc4114f40fe167dd1e85c48f8f2e2a674 (patch)
treeff9d1675bbee7064d2f95e45a9f427177e940c38 /client/menu/overlay.gd
parent35a16fd090a49aca15c942b769d8c1f16dd2d33f (diff)
parenteb6af5d8bf056bad6528509846d3735c31a2d061 (diff)
downloadhurrycurry-065de2ddc4114f40fe167dd1e85c48f8f2e2a674.tar
hurrycurry-065de2ddc4114f40fe167dd1e85c48f8f2e2a674.tar.bz2
hurrycurry-065de2ddc4114f40fe167dd1e85c48f8f2e2a674.tar.zst
Merge branch 'master' of codeberg.org:hurrycurry/hurrycurry
Diffstat (limited to 'client/menu/overlay.gd')
-rw-r--r--client/menu/overlay.gd6
1 files changed, 3 insertions, 3 deletions
diff --git a/client/menu/overlay.gd b/client/menu/overlay.gd
index 46750b31..e80a00f9 100644
--- a/client/menu/overlay.gd
+++ b/client/menu/overlay.gd
@@ -43,10 +43,10 @@ func update(failed_: int, completed_: int, points_: int, time: float):
points_label.text = str(points_)
points_label.scale = LABEL_SCALE
points = points_
- timer.wait_time = time
- if timer.is_stopped():
- timer.start()
+ timer.stop()
+ timer.wait_time = time
+ timer.start()
func set_ingame(_state: bool, lobby: bool):
if lobby: