From fc63ac8ce0b6757e4b61a633f93f4f4c27fd7e03 Mon Sep 17 00:00:00 2001 From: tpart Date: Wed, 4 Sep 2024 21:14:33 +0200 Subject: Fix crash on item finished; Clean up code; Update knife model --- client/player/player.gd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'client/player') 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: -- cgit v1.3