summaryrefslogtreecommitdiff
path: root/client/player
diff options
context:
space:
mode:
authornokoe <nokoe@mailbox.org>2024-11-18 18:20:13 +0100
committernokoe <nokoe@mailbox.org>2024-11-18 18:20:13 +0100
commitb1abfaff30c50493befc7947980626557c857c8e (patch)
tree6377a475abba97824350799c160b3a845121ece5 /client/player
parent2fd2a7171091f3c4de9e47f7eb1164c408510c13 (diff)
downloadhurrycurry-b1abfaff30c50493befc7947980626557c857c8e.tar
hurrycurry-b1abfaff30c50493befc7947980626557c857c8e.tar.bz2
hurrycurry-b1abfaff30c50493befc7947980626557c857c8e.tar.zst
animate items that are passed between players
Diffstat (limited to 'client/player')
-rw-r--r--client/player/player.gd1
1 files changed, 1 insertions, 0 deletions
diff --git a/client/player/player.gd b/client/player/player.gd
index 7a002d23..84b40789 100644
--- a/client/player/player.gd
+++ b/client/player/player.gd
@@ -129,6 +129,7 @@ func put_item(tile: Tile):
func pass_to(player: Player):
var i = remove_item()
+ i.player_owned_timer = 0
if player.hand != null:
push_error("target is already holding an item")
player.set_item(i)