summaryrefslogtreecommitdiff
path: root/client/map/items/item.gd
diff options
context:
space:
mode:
Diffstat (limited to 'client/map/items/item.gd')
-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 244613a8..59789d94 100644
--- a/client/map/items/item.gd
+++ b/client/map/items/item.gd
@@ -45,7 +45,7 @@ func _ready():
position = owned_by.global_position
func _process(delta):
- if owned_by.get_parent() is Item:
+ if owned_by.get_parent() is Item or owned_by is Item:
position = Vector3(0.,0.,0.)
return
var p = owned_by.get_parent().get_parent() is Player