More renames.

This commit is contained in:
Relintai 2023-10-08 20:45:52 +02:00
parent 6009e332de
commit 8c7c3e29ab
2 changed files with 3 additions and 3 deletions

View File

@ -136,7 +136,7 @@ func _notification_scharacter_level_up(value: int) -> void:
refresh_spells(value)
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
var ecd : EntityClassData = sentity_data.entity_class_data

View File

@ -137,7 +137,7 @@ func refresh_all() -> void:
_page = _max_pages
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()
@ -162,7 +162,7 @@ func set_player(p_player: Entity) -> void:
centity_data_changed(null)
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):
_spells.clear()