diff options
author | nokoe <nokoe@mailbox.org> | 2024-06-27 17:39:37 +0200 |
---|---|---|
committer | nokoe <nokoe@mailbox.org> | 2024-06-27 17:39:37 +0200 |
commit | b284e05536ea0f7dcfc294c02f803386f373a3cf (patch) | |
tree | f608072ff9d72eace7d2dcc4debfcfb748d4d6e4 /client/map/map.gd | |
parent | 5b34f8a894e4214df9efd6d5911b8be2d1c4a8be (diff) | |
download | hurrycurry-b284e05536ea0f7dcfc294c02f803386f373a3cf.tar hurrycurry-b284e05536ea0f7dcfc294c02f803386f373a3cf.tar.bz2 hurrycurry-b284e05536ea0f7dcfc294c02f803386f373a3cf.tar.zst |
sdfgi, voxelgi settings
Diffstat (limited to 'client/map/map.gd')
-rw-r--r-- | client/map/map.gd | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client/map/map.gd b/client/map/map.gd index 32b267d7..ca3069ad 100644 --- a/client/map/map.gd +++ b/client/map/map.gd @@ -34,7 +34,8 @@ func remove_tile_if_exists(pos: Vector2i): func _ready(): if baking: return - voxelgi_timer.connect("timeout", gi_bake) + if Global.settings["voxel_gi"]["value"]: + voxelgi_timer.connect("timeout", gi_bake) func gi_bake(): print("Map: Rebaking VoxelGI") |