Starting an inventory manager

This commit is contained in:
2026-04-20 11:41:22 +02:00
parent f9ca56e34a
commit 667d6b2588
9 changed files with 57 additions and 20 deletions

View File

@@ -38,7 +38,7 @@ func open_toolbox() -> void:
func open_inventory() -> void:
var inventory: Control = open_overlaid_menu(inventory_scene)
inventory.player = player
# inventory.player = player
inventory_layer.call_deferred("add_child", inventory)
func on_player_died() -> void: