summaryrefslogtreecommitdiff
path: root/client/map/items
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-07-09 14:53:12 +0200
committermetamuffin <metamuffin@disroot.org>2024-07-09 14:53:12 +0200
commit1da3465d7a4402760aed03ce2f450cd1b412417f (patch)
treebb110241f83f5b7cf372d05a59a4824eee626437 /client/map/items
parent13cbcc920a2756376e0005046b4b82c68eb9c9da (diff)
parente6cf494ccbd5541585aff16b4f4825d9b58f6a31 (diff)
downloadhurrycurry-1da3465d7a4402760aed03ce2f450cd1b412417f.tar
hurrycurry-1da3465d7a4402760aed03ce2f450cd1b412417f.tar.bz2
hurrycurry-1da3465d7a4402760aed03ce2f450cd1b412417f.tar.zst
Merge branch 'master' of https://codeberg.org/hurrycurry/hurrycurry
Diffstat (limited to 'client/map/items')
-rw-r--r--client/map/items/item.gd3
1 files changed, 3 insertions, 0 deletions
diff --git a/client/map/items/item.gd b/client/map/items/item.gd
index e9671e91..466348fe 100644
--- a/client/map/items/item.gd
+++ b/client/map/items/item.gd
@@ -49,6 +49,9 @@ func _process(delta):
func progress(p: float, warn: bool):
progress_instance.visible = true
progress_instance.set_progress(p, warn)
+ # this shoukd be removed when the server is fixed
+ if p >= 1.:
+ finish(warn)
func finish(_warn: bool):
progress_instance.visible = false