moving INI set, so it is set before ready

This commit is contained in:
betalars 2023-06-29 22:20:38 +02:00
parent 1af6aea8cb
commit b20e519b7b
1 changed files with 1 additions and 2 deletions

View File

@ -19,7 +19,7 @@ var has_focus = false:
self.show() self.show()
has_focus = focus has_focus = focus
var selection_state var selection_state = INI
var anim_players:Array var anim_players:Array
var curr_selection_id: int = -1: var curr_selection_id: int = -1:
@ -46,7 +46,6 @@ func _ready():
for control in card_controls: for control in card_controls:
options.append(control.get_child(1)) options.append(control.get_child(1))
anim_players.append(control.get_child(0)) anim_players.append(control.get_child(0))
selection_state = INI
fill_card_slots() fill_card_slots()