now correctly removes player and enemy monster node

This commit is contained in:
Luca 2024-09-29 21:52:34 +02:00
parent 4963131d3e
commit c9458f3627
3 changed files with 7 additions and 4 deletions

View file

@ -12,9 +12,10 @@ func _on_close_button_pressed() -> void:
pass # Replace with function body.
func update() -> void:
_update_monster_list()
pass
func _update_monster_list() -> void:
print("update list")
for i in SaveManager.current_save.party.size():
var monster = SaveManager.current_save.party[i]
var entry = monster_list_entry.instantiate()