diff --git a/code/modules/mapping/map_template.dm b/code/modules/mapping/map_template.dm index 6645582c7b6..621c1a8e54f 100644 --- a/code/modules/mapping/map_template.dm +++ b/code/modules/mapping/map_template.dm @@ -82,6 +82,14 @@ SSatoms.InitializeAtoms(areas + turfs + movables, returns_created_atoms ? created_atoms : null) + for(var/turf/unlit as anything in turfs) + if(unlit.always_lit) + continue + var/area/loc_area = unlit.loc + if(!loc_area.static_lighting) + continue + unlit.lighting_build_overlay() + // NOTE, now that Initialize and LateInitialize run correctly, do we really // need these two below? SSmachines.setup_template_powernets(cables)