mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 16:18:01 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user