Fixes portals moving anchored atoms (#22587)

* Fixes portals moving anchored objects

* Missing a letter

* Mecha
This commit is contained in:
KorPhaeron
2017-01-02 15:07:11 +01:00
committed by AnturK
parent 5628bbe0a4
commit 010f305ee2
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -60,7 +60,7 @@
/obj/effect/portal/wormhole/teleport(atom/movable/M)
if(istype(M, /obj/effect)) //sparks don't teleport
return
if(M.anchored && istype(M, /obj/mecha))
if(M.anchored && !istype(M, /obj/mecha))
return
if(istype(M, /atom/movable))