starlight optimization (#17932)

* starlight optimization

* better
This commit is contained in:
Cameron Lennox
2025-06-29 12:55:22 -04:00
committed by GitHub
parent 900f22025f
commit 666d05d751
6 changed files with 11 additions and 15 deletions
+1 -1
View File
@@ -30,7 +30,7 @@
affected_turf.lighting_object = src
affected_turf.set_luminosity(0)
if(CONFIG_GET(flag/starlight))
if(CONFIG_GET(number/starlight))
for(var/turf/space/space_tile in RANGE_TURFS(1, affected_turf))
space_tile.update_starlight()