Update turf.dm
This commit is contained in:
@@ -162,6 +162,12 @@
|
||||
/turf/Entered(atom/movable/AM)
|
||||
if(explosion_level && AM.ex_check(explosion_id))
|
||||
AM.ex_act(explosion_level)
|
||||
|
||||
// If an opaque movable atom moves around we need to potentially update visibility.
|
||||
if (AM.opacity)
|
||||
has_opaque_atom = TRUE // Make sure to do this before reconsider_lights(), incase we're on instant updates. Guaranteed to be on in this case.
|
||||
reconsider_lights()
|
||||
|
||||
|
||||
/turf/open/Entered(atom/movable/AM)
|
||||
..()
|
||||
|
||||
Reference in New Issue
Block a user