Removes /related area variable. (#37173)

* Removes /related area variable.

* area_contents begone

* doorstuff
This commit is contained in:
AnturK
2018-04-14 11:45:00 +02:00
committed by yogstation13-bot
parent f237af4842
commit c9db43628d
11 changed files with 78 additions and 134 deletions

View File

@@ -10,13 +10,13 @@
if (IS_DYNAMIC_LIGHTING(src))
cut_overlay(/obj/effect/fullbright)
for (var/turf/T in area_contents(src))
for (var/turf/T in src)
if (IS_DYNAMIC_LIGHTING(T))
T.lighting_build_overlay()
else
add_overlay(/obj/effect/fullbright)
for (var/turf/T in area_contents(src))
for (var/turf/T in src)
if (T.lighting_object)
T.lighting_clear_overlay()