diff options
| -rw-r--r-- | client/player/player.gd | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/client/player/player.gd b/client/player/player.gd index aede738c..1b17191b 100644 --- a/client/player/player.gd +++ b/client/player/player.gd @@ -155,7 +155,7 @@ func put_item(tile: Tile, h: int):  func pass_to(player: Player, hfrom: int, hto: int):  	var i = remove_item(hfrom)  	i.player_owned_timer = 0 -	if player.hand != null: +	if player.hand[hto] != null:  		push_error("target is already holding an item")  	player.set_item(i, hto) | 
