This commit is contained in:
PJB3005
2017-02-08 15:07:58 +01:00
parent 8ce6ae2b87
commit 3c8b98a3aa
12 changed files with 19 additions and 41 deletions
+2 -2
View File
@@ -37,7 +37,7 @@
if (!lighting_corners_initialised)
generate_missing_corners()
PoolOrNew(/atom/movable/lighting_overlay, src)
new/atom/movable/lighting_overlay(src)
for (var/datum/lighting_corner/C in corners)
if (!C.active) // We would activate the corner, calculate the lighting for it.
@@ -68,7 +68,7 @@
/turf/proc/is_softly_lit()
if (!lighting_overlay)
return FALSE
return !lighting_overlay.luminosity
// Can't think of a good name, this proc will recalculate the has_opaque_atom variable.