diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2024-07-16 13:40:29 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2024-07-16 13:40:29 -0400 |
commit | 59e2b90ef45adb2c76d139e5995cedb331322176 (patch) | |
tree | c63266a399fea67c379333dfee8803c87d6827e5 /Archipelago/settings_screen.gd | |
parent | 0e10801d335a52d3e88ad02a5f3ff9784a53a119 (diff) | |
parent | 6b5b85f96fc855810ac21e96e1aeb9cbde0fe88e (diff) | |
download | lingo-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.gd | 9 |
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 |
101 | func installScriptExtension(childScript: Resource): | 110 | func installScriptExtension(childScript: Resource): |