aboutsummaryrefslogtreecommitdiff
path: root/client/menu
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-07-25 12:07:39 +0200
committermetamuffin <metamuffin@disroot.org>2024-07-25 12:07:39 +0200
commitbc210b2632891ca163d31fb57bc0c41769249bf5 (patch)
tree7ab66de1fbf22bbc6162c349c5ceddcc5d8ab523 /client/menu
parente43289341eeeae0f775fecf1a97c49a29bc0edff (diff)
parentb6e6fa487903037c4175d7e94509eb75b1ad250d (diff)
downloadhurrycurry-bc210b2632891ca163d31fb57bc0c41769249bf5.tar
hurrycurry-bc210b2632891ca163d31fb57bc0c41769249bf5.tar.bz2
hurrycurry-bc210b2632891ca163d31fb57bc0c41769249bf5.tar.zst
Merge branch 'master' of codeberg.org:hurrycurry/hurrycurry
Diffstat (limited to 'client/menu')
-rw-r--r--client/menu/overlay.gd5
1 files changed, 3 insertions, 2 deletions
diff --git a/client/menu/overlay.gd b/client/menu/overlay.gd
index e80a00f9..3a7bfd8b 100644
--- a/client/menu/overlay.gd
+++ b/client/menu/overlay.gd
@@ -45,8 +45,9 @@ func update(failed_: int, completed_: int, points_: int, time: float):
points = points_
timer.stop()
- timer.wait_time = time
- timer.start()
+ if time > 0.:
+ timer.wait_time = time
+ timer.start()
func set_ingame(_state: bool, lobby: bool):
if lobby: