From bdba103417e8df67b773b7cc4d49170453e4ef54 Mon Sep 17 00:00:00 2001 From: adrienmalin <41926238+adrienmalin@users.noreply.github.com> Date: Sun, 27 Jan 2019 14:18:42 +0100 Subject: [PATCH] fix flash text (again) --- source/FlashText.gd | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/source/FlashText.gd b/source/FlashText.gd index 65f7ecf..e803199 100644 --- a/source/FlashText.gd +++ b/source/FlashText.gd @@ -10,7 +10,5 @@ func print(text): $AnimationPlayer.play("Flash") func _on_AnimationPlayer_animation_finished(anim_name): - texts = PoolStringArray() - -func _on_Stats_flash_text(text): - self.print(text) + texts.resize(0) +