Disallow effects from being scanned by the chameleon projector (#38017)
* henk * iseffect
This commit is contained in:
committed by
letterjay
parent
cc088d9113
commit
1d1dc1aca8
@@ -50,7 +50,7 @@
|
||||
mech_sized = TRUE
|
||||
|
||||
/obj/effect/portal/wormhole/teleport(atom/movable/M)
|
||||
if(istype(M, /obj/effect)) //sparks don't teleport
|
||||
if(iseffect(M)) //sparks don't teleport
|
||||
return
|
||||
if(M.anchored)
|
||||
if(!(ismecha(M) && mech_sized))
|
||||
|
||||
Reference in New Issue
Block a user