mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
Makes sure that Z-shadows get updated on move_contents_to being called. Fixes #4669.
This commit is contained in:
@@ -817,10 +817,11 @@ proc/GaussRandRound(var/sigma,var/roundto)
|
|||||||
for(var/obj/O in T)
|
for(var/obj/O in T)
|
||||||
O.loc = X
|
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)
|
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
|
if(istype(M, /mob/observer/eye)) continue // If we need to check for more mobs, I'll add a variable
|
||||||
M.loc = X
|
M.loc = X
|
||||||
|
M.check_shadow()
|
||||||
|
|
||||||
if(shuttlework)
|
if(shuttlework)
|
||||||
var/turf/simulated/shuttle/SS = T
|
var/turf/simulated/shuttle/SS = T
|
||||||
|
|||||||
Reference in New Issue
Block a user