diff --git a/code/_helpers/unsorted.dm b/code/_helpers/unsorted.dm index 53af5c50bc..9a22b1ec4f 100644 --- a/code/_helpers/unsorted.dm +++ b/code/_helpers/unsorted.dm @@ -821,7 +821,9 @@ proc/GaussRandRound(var/sigma,var/roundto) 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() // Need to check their Z-shadow, which is normally done in forceMove(). + if(istype(M, /mob/living) + var/mob/living/LM = M + LM.check_shadow() // Need to check their Z-shadow, which is normally done in forceMove(). if(shuttlework) var/turf/simulated/shuttle/SS = T