diff options
author | metamuffin <metamuffin@disroot.org> | 2024-06-27 17:53:35 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-06-27 17:53:35 +0200 |
commit | 5011f5cb98020c7ddcabe2507b76c7656a1cee8b (patch) | |
tree | 0adcf109a5dd2426506e5450a6b5ab9eebcea705 /client/map/map.gd | |
parent | b6713492c6f571ba9897532f129924f438909a07 (diff) | |
parent | b284e05536ea0f7dcfc294c02f803386f373a3cf (diff) | |
download | hurrycurry-5011f5cb98020c7ddcabe2507b76c7656a1cee8b.tar hurrycurry-5011f5cb98020c7ddcabe2507b76c7656a1cee8b.tar.bz2 hurrycurry-5011f5cb98020c7ddcabe2507b76c7656a1cee8b.tar.zst |
Merge branch 'master' of https://codeberg.org/metamuffin/undercooked
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 7e09e969..b693ab9b 100644 --- a/client/map/map.gd +++ b/client/map/map.gd @@ -33,7 +33,8 @@ func clear_tile(pos: Vector2i): @onready var voxelgi: VoxelGI = $VoxelGI func _ready(): - 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") |