From 623667dd15f8ae978b7b1edb8eb400a11a2548b9 Mon Sep 17 00:00:00 2001 From: tralezab <40974010+tralezab@users.noreply.github.com> Date: Mon, 26 Apr 2021 01:08:28 -0700 Subject: [PATCH] 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. --- code/game/objects/items/devices/chameleonproj.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/game/objects/items/devices/chameleonproj.dm b/code/game/objects/items/devices/chameleonproj.dm index b8e5e9ece27..1878eaa449c 100644 --- a/code/game/objects/items/devices/chameleonproj.dm +++ b/code/game/objects/items/devices/chameleonproj.dm @@ -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