mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-25 14:00:18 +01:00
@@ -19,8 +19,10 @@ var/list/obj/effect/bump_teleporter/BUMP_TELEPORTERS = list()
|
||||
BUMP_TELEPORTERS -= src
|
||||
return ..()
|
||||
|
||||
/obj/effect/bump_teleporter/CollidedWith(atom/user)
|
||||
if(!ismob(user))
|
||||
/obj/effect/bump_teleporter/CollidedWith(atom/bumped_atom)
|
||||
. = ..()
|
||||
|
||||
if(!ismob(bumped_atom))
|
||||
//user.forceMove(src.loc) //Stop at teleporter location
|
||||
return
|
||||
|
||||
|
||||
@@ -30,11 +30,11 @@
|
||||
|
||||
precision = precise
|
||||
|
||||
/obj/effect/portal/CollidedWith(mob/M)
|
||||
set waitfor = FALSE
|
||||
/obj/effect/portal/CollidedWith(atom/bumped_atom)
|
||||
. = ..()
|
||||
|
||||
if(does_teleport)
|
||||
teleport(M)
|
||||
teleport(bumped_atom)
|
||||
|
||||
/obj/effect/portal/Crossed(AM)
|
||||
set waitfor = FALSE
|
||||
|
||||
Reference in New Issue
Block a user