summaryrefslogtreecommitdiff
path: root/client/player
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/player
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/player')
-rw-r--r--client/player/player.gd4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/player/player.gd b/client/player/player.gd
index 17db85a9..d5837d47 100644
--- a/client/player/player.gd
+++ b/client/player/player.gd
@@ -111,9 +111,9 @@ func progress(position__: float, speed: float, warn: bool):
if hand != null:
hand.progress(position__, speed, warn)
-func finish(warn: bool):
+func finish():
if hand != null:
- hand.finish(warn)
+ hand.finish()
func take_item(tile: Tile):
if hand != null: