Fixes Chameleon Projector Dummies escaping containers (#58683)

You can see why this is bad from the issue, but it applies a lot of other places you can cram the projector into. Like transit tubes! Or vehicles! Or free escapes from welded lockers! Spooky.
This commit is contained in:
tralezab
2021-04-26 01:08:28 -07:00
committed by GitHub
parent fcee6bf2b5
commit 623667dd15
@@ -151,8 +151,8 @@
master.disrupt()
/obj/effect/dummy/chameleon/relaymove(mob/living/user, direction)
if(isspaceturf(loc) || !direction)
return //No magical space movement!
if(!isturf(loc) || isspaceturf(loc) || !direction)
return //No magical movement! Trust me, this bad boy can do things like leap out of pipes if you're not careful
if(can_move < world.time)
var/amount