diff options
| author | nokoe <nokoe@mailbox.org> | 2024-06-27 18:03:18 +0200 | 
|---|---|---|
| committer | nokoe <nokoe@mailbox.org> | 2024-06-27 18:03:18 +0200 | 
| commit | 5a94633c97363779ba05f02c8d1a88ddbbf21707 (patch) | |
| tree | dc628e67e5373d48a5a939e10f34cd1b2f56b40e /client | |
| parent | 5011f5cb98020c7ddcabe2507b76c7656a1cee8b (diff) | |
| download | hurrycurry-5a94633c97363779ba05f02c8d1a88ddbbf21707.tar hurrycurry-5a94633c97363779ba05f02c8d1a88ddbbf21707.tar.bz2 hurrycurry-5a94633c97363779ba05f02c8d1a88ddbbf21707.tar.zst | |
fix voxelgi setting
Diffstat (limited to 'client')
| -rw-r--r-- | client/map/map.gd | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/client/map/map.gd b/client/map/map.gd index b693ab9b..63527743 100644 --- a/client/map/map.gd +++ b/client/map/map.gd @@ -33,10 +33,10 @@ func clear_tile(pos: Vector2i):  @onready var voxelgi: VoxelGI = $VoxelGI  func _ready(): -	if Global.settings["voxel_gi"]["value"]: -		voxelgi_timer.connect("timeout", gi_bake) +	voxelgi_timer.connect("timeout", gi_bake)  func gi_bake(): +	if not Global.settings["voxel_gi"]["value"]: return  	print("Map: Rebaking VoxelGI")  	gi_bake_blocking() | 
