fixes wormhole jaunter portals floating in space. (#61089)

This commit is contained in:
Ghom
2021-08-31 07:06:14 +02:00
committed by GitHub
parent fda603419c
commit 87cdc9042e
2 changed files with 4 additions and 3 deletions
+3
View File
@@ -47,6 +47,9 @@
return FALSE
return ..()
/obj/effect/portal/newtonian_move() // Prevents portals spawned by jaunter/handtele from floating into space when relocated to an adjacent tile.
return TRUE
/obj/effect/portal/attackby(obj/item/W, mob/user, params)
if(user && Adjacent(user))
teleport(user)