update bot
This commit is contained in:
@@ -158,6 +158,7 @@ func add_message_to_bar(player_name: String, message: String, type: int = Messag
|
||||
# Remove oldest messages if over limit
|
||||
while message_container.get_child_count() > MAX_MESSAGES:
|
||||
var oldest = message_container.get_child(0)
|
||||
message_container.remove_child(oldest)
|
||||
oldest.queue_free()
|
||||
|
||||
# Auto-remove after duration with fade-out
|
||||
|
||||
Reference in New Issue
Block a user