fix: Tween is briefly not in the scene tree when we call refresh()

Not sure why ; happens on resume.
master
Dominique Merle 4 years ago
parent 318a2a0934
commit aa5bfab61b

@ -51,6 +51,8 @@ func compute_height():
func refresh(merit_profile:MajorityJudgmentCandidateMeritProfile):
if not $Tween.is_inside_tree():
yield($Tween, "tree_entered")
$Tween.remove_all()
var total_amount_of_judgments : int = merit_profile.count_judgments()

Loading…
Cancel
Save