mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
Removes /related area variable. (#37173)
* Removes /related area variable. * area_contents begone * doorstuff
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user