mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-12 00:27:31 +01:00
Fixes portals moving anchored atoms (#22587)
* Fixes portals moving anchored objects * Missing a letter * Mecha
This commit is contained in:
@@ -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))
|
||||
|
||||
@@ -143,7 +143,7 @@
|
||||
desc = "A stable hole in the universe made by a wormhole jaunter. Turbulent doesn't even begin to describe how rough passage through one of these is, but at least it will always get you somewhere near a beacon."
|
||||
|
||||
/obj/effect/portal/wormhole/jaunt_tunnel/teleport(atom/movable/M)
|
||||
if(istype(M, /obj/effect))
|
||||
if(M.anchored || istype(M, /obj/effect))
|
||||
return
|
||||
|
||||
if(istype(M, /atom/movable))
|
||||
|
||||
Reference in New Issue
Block a user