From 0be3210ecdd6214865aec1e89a1ee17f49eebb30 Mon Sep 17 00:00:00 2001 From: Aronai Sieyes Date: Fri, 13 Mar 2020 10:05:51 -0400 Subject: [PATCH] Fix adminload Z level lighting --- code/modules/maps/tg/map_template_vr.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/modules/maps/tg/map_template_vr.dm b/code/modules/maps/tg/map_template_vr.dm index cd8a04857d..b966261b47 100644 --- a/code/modules/maps/tg/map_template_vr.dm +++ b/code/modules/maps/tg/map_template_vr.dm @@ -1,2 +1,5 @@ /datum/map_template/proc/on_map_loaded(z) + 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 \ No newline at end of file