Update turf.dm

This commit is contained in:
LetterJay
2017-08-18 11:16:30 -05:00
committed by GitHub
parent 16428315aa
commit 3c91fba8e3

View File

@@ -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)
..()