From 1a005898a0fe190f1f678dde6cd27fdf63a05e9b Mon Sep 17 00:00:00 2001 From: Marina Gryphon Date: Tue, 6 Feb 2018 10:51:32 -0600 Subject: [PATCH] Makes sure that Z-shadows get updated on `move_contents_to` being called. Fixes #4669. --- code/_helpers/unsorted.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/_helpers/unsorted.dm b/code/_helpers/unsorted.dm index cc65f2fad6..e6b607e673 100644 --- a/code/_helpers/unsorted.dm +++ b/code/_helpers/unsorted.dm @@ -817,10 +817,11 @@ proc/GaussRandRound(var/sigma,var/roundto) for(var/obj/O in T) O.loc = X - //Move the mobs unless it's an AI eye or other eye type. + //Move the mobs unless it's an AI eye or other eye type. Need to check their Z-shadow. for(var/mob/M in T) if(istype(M, /mob/observer/eye)) continue // If we need to check for more mobs, I'll add a variable M.loc = X + M.check_shadow() if(shuttlework) var/turf/simulated/shuttle/SS = T