diff --git a/Notice_msg.gd b/Notice_msg.gd index 08e0f6c..ed26d8d 100644 --- a/Notice_msg.gd +++ b/Notice_msg.gd @@ -9,11 +9,11 @@ func _ready(): if type == "alert": $Label.add_color_override("font_color", Color(255, 0, 0)) -func _process(delta): +func _process(_delta): $Label.text = message func _on_TTL_timeout(): $AnimationPlayer.play("move_off_screen") -func _on_AnimationPlayer_animation_finished(anim_name): +func _on_AnimationPlayer_animation_finished(_anim_name): queue_free()