fix purge flash persisting on level-up: tween ignores pause

main
Artur David 2026-06-18 10:39:35 +02:00
parent 19b203de4b
commit 111cc87df1
1 changed files with 1 additions and 0 deletions

View File

@ -37,6 +37,7 @@ func _flash() -> void:
layer.add_child(rect)
var tween = create_tween()
tween.set_pause_mode(Tween.TWEEN_PAUSE_PROCESS)
tween.tween_property(rect, "color:a", 0.0, FLASH_FADE_DURATION)
await tween.finished
queue_free()