diff options
author | tpart <tpart120@proton.me> | 2024-08-15 22:06:56 +0200 |
---|---|---|
committer | tpart <tpart120@proton.me> | 2024-08-15 22:06:56 +0200 |
commit | 08a12454107c6be38fcc476e820f18ad71cef68e (patch) | |
tree | 21aa271fdc6a000fb574f3b219e93778dfa9b979 | |
parent | 04f18f7be5457a7d2fc25a86996078eb6b245663 (diff) | |
download | hurrycurry-08a12454107c6be38fcc476e820f18ad71cef68e.tar hurrycurry-08a12454107c6be38fcc476e820f18ad71cef68e.tar.bz2 hurrycurry-08a12454107c6be38fcc476e820f18ad71cef68e.tar.zst |
Clear bot settings list when menu initializes
-rw-r--r-- | client/menu/lobby.gd | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/client/menu/lobby.gd b/client/menu/lobby.gd index d3172e70..f1cf7fb6 100644 --- a/client/menu/lobby.gd +++ b/client/menu/lobby.gd @@ -62,8 +62,12 @@ func _ready(): func initialize(): map_count = game.maps.size() + for c in map_list.get_children(): c.queue_free() + for c in bot_settings.get_children(): + c.queue_free() + var i := 0 for m in game.maps: var b := Button.new() |