mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-22 08:01:06 +00:00
Lighting minor tweak (#17560)
* Atomization * sfdsaf --------- Co-authored-by: FluffyGhost <FluffyGhost>
This commit is contained in:
@@ -404,9 +404,10 @@
|
||||
|
||||
var/list/L = turfs - affecting_turfs // New turfs, add us to the affecting lights of them.
|
||||
affecting_turfs += L
|
||||
for (thing in L)
|
||||
T = thing
|
||||
LAZYADD(T.affecting_lights, src)
|
||||
for (var/turf/affected_turf as anything in L)
|
||||
if(!QDELETED(affected_turf))
|
||||
T = affected_turf
|
||||
LAZYADD(T.affecting_lights, src)
|
||||
|
||||
L = affecting_turfs - turfs // Now-gone turfs, remove us from the affecting lights.
|
||||
affecting_turfs -= L
|
||||
|
||||
Reference in New Issue
Block a user