about summary refs log tree commit diff stats
path: root/Archipelago/settings_screen.gd
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2024-07-16 13:40:29 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2024-07-16 13:40:29 -0400
commit59e2b90ef45adb2c76d139e5995cedb331322176 (patch)
treec63266a399fea67c379333dfee8803c87d6827e5 /Archipelago/settings_screen.gd
parent0e10801d335a52d3e88ad02a5f3ff9784a53a119 (diff)
parent6b5b85f96fc855810ac21e96e1aeb9cbde0fe88e (diff)
downloadlingo-archipelago-59e2b90ef45adb2c76d139e5995cedb331322176.tar.gz
lingo-archipelago-59e2b90ef45adb2c76d139e5995cedb331322176.tar.bz2
lingo-archipelago-59e2b90ef45adb2c76d139e5995cedb331322176.zip
Merge branch 'main' into panels
Diffstat (limited to 'Archipelago/settings_screen.gd')
-rw-r--r--Archipelago/settings_screen.gd9
1 files changed, 9 insertions, 0 deletions
diff --git a/Archipelago/settings_screen.gd b/Archipelago/settings_screen.gd index 79fdcc3..6c64b15 100644 --- a/Archipelago/settings_screen.gd +++ b/Archipelago/settings_screen.gd
@@ -55,6 +55,7 @@ func _ready():
55 installScriptExtension(ResourceLoader.load("user://maps/Archipelago/panelInput.gd")) 55 installScriptExtension(ResourceLoader.load("user://maps/Archipelago/panelInput.gd"))
56 installScriptExtension(ResourceLoader.load("user://maps/Archipelago/pause_menu.gd")) 56 installScriptExtension(ResourceLoader.load("user://maps/Archipelago/pause_menu.gd"))
57 installScriptExtension(ResourceLoader.load("user://maps/Archipelago/player.gd")) 57 installScriptExtension(ResourceLoader.load("user://maps/Archipelago/player.gd"))
58 installScriptExtension(ResourceLoader.load("user://maps/Archipelago/settings_menu.gd"))
58 installScriptExtension(ResourceLoader.load("user://maps/Archipelago/teleport.gd")) 59 installScriptExtension(ResourceLoader.load("user://maps/Archipelago/teleport.gd"))
59 installScriptExtension(ResourceLoader.load("user://maps/Archipelago/worldTransporter.gd")) 60 installScriptExtension(ResourceLoader.load("user://maps/Archipelago/worldTransporter.gd"))
60 61
@@ -96,6 +97,14 @@ func _ready():
96 self.get_node("Panel/player_box").add_font_override("font", field_font) 97 self.get_node("Panel/player_box").add_font_override("font", field_font)
97 self.get_node("Panel/password_box").add_font_override("font", field_font) 98 self.get_node("Panel/password_box").add_font_override("font", field_font)
98 99
100 # Clear out messages (kind of a hack).
101 messages._message_queue.clear()
102
103 for message_label in messages._ordered_labels:
104 message_label.queue_free()
105
106 messages._ordered_labels.clear()
107
99 108
100# Adapted from https://gitlab.com/Delta-V-Modding/Mods/-/blob/main/game/ModLoader.gd 109# Adapted from https://gitlab.com/Delta-V-Modding/Mods/-/blob/main/game/ModLoader.gd
101func installScriptExtension(childScript: Resource): 110func installScriptExtension(childScript: Resource):