diff --git a/code/modules/events/wormholes.dm b/code/modules/events/wormholes.dm index 43533ebedaa..167eb77cfc9 100644 --- a/code/modules/events/wormholes.dm +++ b/code/modules/events/wormholes.dm @@ -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 \ No newline at end of file + do_teleport(M, hard_target, 1, 1, 0, 0) ///You will appear adjacent to the beacon