aboutsummaryrefslogtreecommitdiff
path: root/client/map/map.gd
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-09-22 23:13:58 +0200
committermetamuffin <metamuffin@disroot.org>2025-09-22 23:14:21 +0200
commitfed8a4f8cd2adc9191211f74f284f93eb8f1ac53 (patch)
tree27a2db9896c112fb903b38f0cf2392b676d2270a /client/map/map.gd
parentaba816f923b8bcd33d53eabd93b01c6e85f4dc75 (diff)
downloadhurrycurry-fed8a4f8cd2adc9191211f74f284f93eb8f1ac53.tar
hurrycurry-fed8a4f8cd2adc9191211f74f284f93eb8f1ac53.tar.bz2
hurrycurry-fed8a4f8cd2adc9191211f74f284f93eb8f1ac53.tar.zst
Disable setting reset if default; refactor setting hook system (fix #379)
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 235425a0..ef7c69c9 100644
--- a/client/map/map.gd
+++ b/client/map/map.gd
@@ -54,7 +54,7 @@ func clear_tile(pos: Vector2i):
@onready var voxelgi: VoxelGI = $VoxelGI
func _ready():
- Settings.hook_changed("graphics.gi", false, apply_gi_setting)
+ Settings.hook_changed("graphics.gi", "main", apply_gi_setting)
floor_node.material_override = preload("res://map/tiles/floor_material.tres")
for fm in tile_factory.floor_meshers.values():
add_child(fm.mesh_instance)