aboutsummaryrefslogtreecommitdiff
path: root/client/map/items
diff options
context:
space:
mode:
authortpart <tpart120@proton.me>2024-09-04 21:14:33 +0200
committertpart <tpart120@proton.me>2024-09-04 21:14:33 +0200
commitfc63ac8ce0b6757e4b61a633f93f4f4c27fd7e03 (patch)
tree353cbf03272028ad5d63c15d6182ea1e67b48806 /client/map/items
parent9c953125445760dbf5c0562854caaa0d1866fda9 (diff)
downloadhurrycurry-fc63ac8ce0b6757e4b61a633f93f4f4c27fd7e03.tar
hurrycurry-fc63ac8ce0b6757e4b61a633f93f4f4c27fd7e03.tar.bz2
hurrycurry-fc63ac8ce0b6757e4b61a633f93f4f4c27fd7e03.tar.zst
Fix crash on item finished; Clean up code; Update knife model
Diffstat (limited to 'client/map/items')
-rw-r--r--client/map/items/item.gd2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/map/items/item.gd b/client/map/items/item.gd
index e67edcca..11914eef 100644
--- a/client/map/items/item.gd
+++ b/client/map/items/item.gd
@@ -58,7 +58,7 @@ func progress(position_: float, speed: float, warn: bool):
# if p >= 1.:
# finish(warn)
-func finish(_warn: bool):
+func finish():
progress_instance.visible = false
func setup_sounds():