Fixes non-dynamically lit areas being pitch black

Fixes #25179 (Legitimate closing of a pull request, thanks for this bug github)
Fixes #25164
This commit is contained in:
MrPerson
2017-03-16 21:30:06 -07:00
parent a0f6bc37ad
commit b71e89ce10
3 changed files with 6 additions and 1 deletions
+1
View File
@@ -9,6 +9,7 @@
dynamic_lighting = new_dynamic_lighting
if (IS_DYNAMIC_LIGHTING(src))
cut_overlay(/obj/effect/fullbright)
for (var/turf/T in area_contents(src))
if (IS_DYNAMIC_LIGHTING(T))
T.lighting_build_overlay()