Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
NancokPS2 committed Feb 17, 2024
1 parent 8fb87f0 commit 3c7d326
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scenes/player/inventory/Inventory.gd
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func _input(event):
hide()
else:
update_inventory()
player.inventory.sync_inventory.rpc_id(1)
inventory_synchronizer.sync_invendtory.rpc_id(1)
show()


Expand Down Expand Up @@ -113,7 +113,7 @@ func update_inventory():
panels_with_invalid_items = panel_item_uuid_dictionary.duplicate()

#Check every inventory item
for inv_item: Item in player.inventory.items:
for inv_item: Item in inventory_synchronizer.items:
#Unmark as invalid those who have been found in the inventory
panels_with_invalid_items.erase(inv_item.uuid)

Expand Down

0 comments on commit 3c7d326

Please sign in to comment.