about summary refs log tree commit diff stats
path: root/Archipelago/messages.gd
diff options
context:
space:
mode:
Diffstat (limited to 'Archipelago/messages.gd')
-rw-r--r--Archipelago/messages.gd4
1 files changed, 3 insertions, 1 deletions
diff --git a/Archipelago/messages.gd b/Archipelago/messages.gd index d5589ef..fbe7564 100644 --- a/Archipelago/messages.gd +++ b/Archipelago/messages.gd
@@ -50,7 +50,9 @@ func showMessage(text):
50 yield(get_tree().create_timer(timeout), "timeout") 50 yield(get_tree().create_timer(timeout), "timeout")
51 51
52 var to_remove = _ordered_labels.pop_front() 52 var to_remove = _ordered_labels.pop_front()
53 to_remove.queue_free() 53 var to_tween = get_tree().create_tween().bind_node(to_remove)
54 to_tween.tween_property(to_remove, "modulate:a", 0.0, 0.5)
55 to_tween.tween_callback(to_remove, "queue_free")
54 56
55 if !_message_queue.empty(): 57 if !_message_queue.empty():
56 var next_msg = _message_queue.pop_front() 58 var next_msg = _message_queue.pop_front()