Update wormholes.dm (#28895)

This commit is contained in:
kevinz000
2017-06-28 21:50:38 -07:00
committed by Jordan Brown
parent 6b5262f3bd
commit fecfe42d80
+2 -3
View File
@@ -62,11 +62,10 @@
return
if(ismovableatom(M))
var/turf/target
if(GLOB.portals.len)
var/obj/effect/portal/P = pick(GLOB.portals)
if(P && isturf(P.loc))
hard_target = P.loc
if(!target)
if(!hard_target)
return
do_teleport(M, hard_target, 1, 1, 0, 0) ///You will appear adjacent to the beacon
do_teleport(M, hard_target, 1, 1, 0, 0) ///You will appear adjacent to the beacon