aboutsummaryrefslogtreecommitdiff
path: root/client/menu
diff options
context:
space:
mode:
authortpart <tpart120@proton.me>2024-06-30 23:13:37 +0200
committertpart <tpart120@proton.me>2024-06-30 23:13:37 +0200
commit2d477acead01abfe7eb13d0e30d1eab6355d13c5 (patch)
treea34c13ab24ffcf6e1fcc22e8abc30fe98f8a5e9f /client/menu
parent21b88fdc4abdc95f6b2d016bcc2a26706790be03 (diff)
downloadhurrycurry-2d477acead01abfe7eb13d0e30d1eab6355d13c5.tar
hurrycurry-2d477acead01abfe7eb13d0e30d1eab6355d13c5.tar.bz2
hurrycurry-2d477acead01abfe7eb13d0e30d1eab6355d13c5.tar.zst
Add language settings
Diffstat (limited to 'client/menu')
-rw-r--r--client/menu/settings_menu.gd1
-rw-r--r--client/menu/setup_menu.tscn2
2 files changed, 1 insertions, 2 deletions
diff --git a/client/menu/settings_menu.gd b/client/menu/settings_menu.gd
index be2d2dff..9f033d40 100644
--- a/client/menu/settings_menu.gd
+++ b/client/menu/settings_menu.gd
@@ -24,6 +24,7 @@ func _on_back_pressed():
for k in settings.keys():
Global.set_setting(k, settings[k].get_value())
Global.save_settings()
+ Global.update_language()
Global.update_fullscreen()
menu_manager.go_back()
diff --git a/client/menu/setup_menu.tscn b/client/menu/setup_menu.tscn
index e5229df3..4322c138 100644
--- a/client/menu/setup_menu.tscn
+++ b/client/menu/setup_menu.tscn
@@ -91,8 +91,6 @@ layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
-offset_right = 1152.0
-offset_bottom = 648.0
grow_horizontal = 2
grow_vertical = 2
horizontal_scroll_mode = 0