inventory bug fixes, multiplayer pickup sync
This commit is contained in:
parent
04a9a299d7
commit
000269875a
14 changed files with 88 additions and 43 deletions
|
|
@ -10,6 +10,7 @@ func get_current_slot(index : int) -> RigidBody3D:
|
|||
|
||||
func add_item(item : RigidBody3D) -> void:
|
||||
items.append(item)
|
||||
print(item.item.id, " added id")
|
||||
|
||||
func remove_items(item : RigidBody3D) -> void:
|
||||
items.erase(item)
|
||||
Loading…
Add table
Add a link
Reference in a new issue