aboutsummaryrefslogtreecommitdiff
path: root/client/map/map.gd
diff options
context:
space:
mode:
authortpart <tpart120@proton.me>2024-06-30 01:06:12 +0200
committertpart <tpart120@proton.me>2024-06-30 01:06:14 +0200
commit14a256c770774f3810723b48fa64b1b959113545 (patch)
treebb6c21f45edb0cab0835b48a7275f402c6aef233 /client/map/map.gd
parent3322a7d3ceb399868c5eeeeb081249faa82506cd (diff)
downloadhurrycurry-14a256c770774f3810723b48fa64b1b959113545.tar
hurrycurry-14a256c770774f3810723b48fa64b1b959113545.tar.bz2
hurrycurry-14a256c770774f3810723b48fa64b1b959113545.tar.zst
Add get_setting and set_setting helper functions
Diffstat (limited to 'client/map/map.gd')
-rw-r--r--client/map/map.gd2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/map/map.gd b/client/map/map.gd
index 49df1ce3..092a488a 100644
--- a/client/map/map.gd
+++ b/client/map/map.gd
@@ -36,7 +36,7 @@ func _ready():
voxelgi_timer.connect("timeout", gi_bake)
func gi_bake():
- if not Global.settings["voxel_gi"]["value"]: return
+ if not Global.get_setting("voxel_gi"): return
print("Map: Rebaking VoxelGI")
gi_bake_blocking()