aboutsummaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-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