Files
VOREStation/code/modules/maps/tg/map_template_vr.dm

6 lines
287 B
Plaintext

/datum/map_template/proc/on_map_loaded(z)
if(lighting_overlays_initialised) //We missed sslighting init!
for(var/Trf in block(locate(1,1,z), locate(world.maxx, world.maxy, z)))
var/turf/T = Trf //faster than implicit istype with typed for loop
T.lighting_build_overlay()
return