fix: removed a super annoying half second wait.
This commit is contained in:
parent
a5d1e46466
commit
a0272ec3f2
|
|
@ -208,12 +208,16 @@ func transition():
|
|||
fill_post_slots()
|
||||
|
||||
await anim_players[0].animation_finished
|
||||
|
||||
if selection_state != POSTS:
|
||||
show_posts()
|
||||
|
||||
elif selection_state == POSTS_SELECTED:
|
||||
var out_str:Array[StringName] = []
|
||||
|
||||
for card in output:
|
||||
out_str.append(card.text if card.text != "" else "c_void")
|
||||
|
||||
cards_picked.emit(out_str)
|
||||
selection_state = DONE
|
||||
Scenes.finish_sequence(self)
|
||||
|
|
@ -221,7 +225,6 @@ func transition():
|
|||
func show_posts():
|
||||
for player:AnimationPlayer in anim_players:
|
||||
player.play("RESET")
|
||||
await get_tree().create_timer(.5).timeout
|
||||
selection_state = POSTS
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue