summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client/menu/settings.gd11
1 files changed, 7 insertions, 4 deletions
diff --git a/client/menu/settings.gd b/client/menu/settings.gd
index 1835d620..9e1b0706 100644
--- a/client/menu/settings.gd
+++ b/client/menu/settings.gd
@@ -17,14 +17,17 @@ extends Menu
@onready var options: VBoxContainer = $OuterGap/Panel/InnerGap/VBoxContainer/ScrollContainer/Options
+func _ready():
+ super()
+ update_rows()
+
func _on_back_pressed():
- Global.save_settings()
- Global.apply_settings()
exit()
-func _ready():
+func exit():
+ Global.save_settings()
+ Global.apply_settings()
super()
- update_rows()
func update_rows(fix_focus = false):
for c in options.get_children():