Fixes ruin lighting.

This commit is contained in:
PJB3005
2016-12-26 01:24:05 +01:00
parent 1ced4344a4
commit b89ff8c36a
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -114,7 +114,7 @@
corners[i] = new/datum/lighting_corner(src, LIGHTING_CORNER_DIAGONAL[i])
/turf/ChangeTurf(path)
if(!path || (!use_preloader && path == type)) //Sucks this is here but it would cause problems otherwise.
if(!path || (!use_preloader && path == type) || !global.lighting_overlays_initialized) //Sucks this is here but it would cause problems otherwise.
return ..()
if (!lighting_corners_initialised)