Merges the two turf/Entereds

This commit is contained in:
Jordan Brown
2017-08-10 09:59:23 -04:00
parent 4b4cd5e416
commit a7be74fec8
2 changed files with 5 additions and 8 deletions
-8
View File
@@ -95,14 +95,6 @@
has_opaque_atom = TRUE
break
// If an opaque movable atom moves around we need to potentially update visibility.
/turf/Entered(var/atom/movable/Obj, var/atom/OldLoc)
. = ..()
if (Obj && Obj.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/Exited(var/atom/movable/Obj, var/atom/newloc)
. = ..()