duplicating collectibles for global inventory

This commit is contained in:
SyntaX 2020-01-28 17:52:32 +01:00
parent a8e1dfcc3f
commit 88d0b65261

View File

@ -199,7 +199,7 @@ func check_interact():
collider.do_interact(self)
if collider.is_in_group("Collectibles"):
_inventory.add_item(collider)
Inventory.add_item(collider)
Inventory.add_item(collider.duplicate())
_prev_look = null # remove after taken
_labelInteract.hide()
else: