Skip to content

Commit

Permalink
Small static typing fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Jowan-Spooner committed May 23, 2024
1 parent 3150904 commit b7f8ac1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/dialogic/Editor/CharacterEditor/character_editor.gd
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ func update_default_portrait_star(default_portrait_name: String) -> void:
var item_list: Array = %PortraitTree.get_root().get_children()
if item_list.is_empty() == false:
while true:
var item := item_list.pop_back()
var item: TreeItem = item_list.pop_back()
if item.get_button_by_id(0, 2) != -1:
item.erase_button(0, item.get_button_by_id(0, 2))
if %PortraitTree.get_full_item_name(item) == default_portrait_name:
Expand Down

0 comments on commit b7f8ac1

Please sign in to comment.