More renames.

This commit is contained in:
Relintai 2023-10-08 20:45:36 +02:00
parent 05a368c089
commit 0edfc00fb8
2 changed files with 3 additions and 3 deletions

View File

@ -135,7 +135,7 @@ func _notification_scharacter_level_up(value: int) -> void:
refresh_spells(value) refresh_spells(value)
func refresh_spells(value: int): func refresh_spells(value: int):
if free_spell_points_gets() == 0 and class_talent_points_gets_free() == 0: if spell_points_gets_free() == 0 and class_talent_points_gets_free() == 0:
return return
var ecd : EntityClassData = sentity_data.entity_class_data var ecd : EntityClassData = sentity_data.entity_class_data

View File

@ -137,7 +137,7 @@ func refresh_all() -> void:
_page = _max_pages _page = _max_pages
if ESS.use_spell_points: if ESS.use_spell_points:
_spell_points_label.text = "Free spell points: " + str(_player.free_spell_points_getc()) _spell_points_label.text = "Free spell points: " + str(_player.spell_points_getc_free())
refresh_entries() refresh_entries()
@ -164,7 +164,7 @@ func set_player(p_player: Entity) -> void:
centity_data_changed(null) centity_data_changed(null)
func cfree_spell_points_changed(entity: Entity, value: int) -> void: func cfree_spell_points_changed(entity: Entity, value: int) -> void:
_spell_points_label.text = "Free spell points: " + str(_player.free_spell_points_getc()) _spell_points_label.text = "Free spell points: " + str(_player.spell_points_getc_free())
func centity_data_changed(data: EntityData): func centity_data_changed(data: EntityData):
_spells.clear() _spells.clear()