Merge pull request #110 from PJB3005/ruined

Ruined ruins ruining lighting.
This commit is contained in:
LetterJay
2016-12-25 19:38:29 -05:00
committed by GitHub
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -116,7 +116,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)