diff options
author | metamuffin <metamuffin@disroot.org> | 2024-07-09 14:53:12 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-07-09 14:53:12 +0200 |
commit | 1da3465d7a4402760aed03ce2f450cd1b412417f (patch) | |
tree | bb110241f83f5b7cf372d05a59a4824eee626437 /client/map/items | |
parent | 13cbcc920a2756376e0005046b4b82c68eb9c9da (diff) | |
parent | e6cf494ccbd5541585aff16b4f4825d9b58f6a31 (diff) | |
download | hurrycurry-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.gd | 3 |
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 |