From 31e00eb7f453c071225a856e824d30f157117f9c Mon Sep 17 00:00:00 2001 From: John Breaux Date: Sat, 13 Nov 2021 23:58:41 -0600 Subject: [PATCH] Load the theme on startup --- godot_ship/script/Main.gd | 2 ++ 1 file changed, 2 insertions(+) diff --git a/godot_ship/script/Main.gd b/godot_ship/script/Main.gd index 0325d81..a3d53f9 100644 --- a/godot_ship/script/Main.gd +++ b/godot_ship/script/Main.gd @@ -26,6 +26,8 @@ func _ready(): _errno += MessageBus.connect("quit" , self, "_on_quit_request" ) _errno += MessageBus.connect("return_to_title", self, "_on_title_request" ) _errno += OptionsController.connect("change_theme", self, "_on_change_theme" ) + # Set the theme based on the config file + _on_change_theme(OptionsController.get_theme()) # go fullscreen OS.low_processor_usage_mode = power_saving OS.low_processor_usage_mode_sleep_usec = 6800