From f094e5eac308c9215d3bbcae8b87797a441480da Mon Sep 17 00:00:00 2001 From: Relintai Date: Sun, 8 Oct 2023 20:52:06 +0200 Subject: [PATCH] Fixed an another renamed property. --- game/scenes/CharacterSelectorMenu.gd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/game/scenes/CharacterSelectorMenu.gd b/game/scenes/CharacterSelectorMenu.gd index 2cc650a..eb0f7d8 100644 --- a/game/scenes/CharacterSelectorMenu.gd +++ b/game/scenes/CharacterSelectorMenu.gd @@ -87,7 +87,7 @@ func refresh(): var display : Entity = ESS.entity_spawner.spawn_display_player(file_name, player_display_container_node.get_path()) - var entity_data : EntityData = ESS.get_resource_db().get_entity_data(display.characterclass_id) + var entity_data : EntityData = ESS.get_resource_db().get_entity_data(display.sentity_data_id) if entity_data == null: print("EntityData not found!") @@ -106,7 +106,7 @@ func refresh(): centry.pressed = true centry.connect("pressed", self, "character_selection_changed") - centry.setup(file_name, display.sentity_name, ESS.get_resource_db().get_entity_data(display.characterclass_id).text_name, display.slevel, display.slevel, display) + centry.setup(file_name, display.sentity_name, ESS.get_resource_db().get_entity_data(display.sentity_data_id).text_name, display.slevel, display.slevel, display) if first_entry == null: first_entry = centry