summaryrefslogtreecommitdiff
path: root/client/global.gd
diff options
context:
space:
mode:
authortpart <tpart120@proton.me>2024-07-30 21:59:49 +0200
committertpart <tpart120@proton.me>2024-07-30 21:59:49 +0200
commite406585bb92fa42139634ad0afd8dc1e5742cf16 (patch)
tree094b24f82158900f3cfcf6dde3e161478edb464c /client/global.gd
parent91d104b367517592cecb60d8c2538c503e4d40e3 (diff)
downloadhurrycurry-e406585bb92fa42139634ad0afd8dc1e5742cf16.tar
hurrycurry-e406585bb92fa42139634ad0afd8dc1e5742cf16.tar.bz2
hurrycurry-e406585bb92fa42139634ad0afd8dc1e5742cf16.tar.zst
Fix: on_mobile() is a function
Diffstat (limited to 'client/global.gd')
-rw-r--r--client/global.gd2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/global.gd b/client/global.gd
index ea876376..7b76788d 100644
--- a/client/global.gd
+++ b/client/global.gd
@@ -54,7 +54,7 @@ var default_settings := {
"server_binary": TextSetting.new(tr("Server binary (leave empty to search PATH)"), "", tr("Enter path")),
"server_data": TextSetting.new(tr("Server data directory (leave empty to auto-detect)"), "", tr("Enter path")),
"ui_scale_mode": DropdownSetting.new(tr("UI scale mode"), 0, [tr("Resize"), tr("Disabled")]),
- "ui_scale_factor": RangeSetting.new(tr("UI scale factor"), 1. if not on_mobile else 1.5, 0.5, 1.5, 3),
+ "ui_scale_factor": RangeSetting.new(tr("UI scale factor"), 1. if not on_mobile() else 1.5, 0.5, 1.5, 3),
"aa": DropdownSetting.new(tr("Anti-aliasing"), 2 if on_high_end() else 0, [tr("Disabled"), "FXAA", "MSAA 2x", "MSAA 4x"]),
"ssao": ToggleSetting.new(tr("Ambient occlusion"), true if on_high_end() else false),
"taa": ToggleSetting.new(tr("Temporal Anti-Aliasing"), false),