mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-20 20:37:34 +01:00
Teleporter Safety (#9879)
* Teleporter Safety * better keyword * initialize can't handle skips
This commit is contained in:
@@ -744,7 +744,7 @@
|
||||
to_chat(user, SPAN_NOTICE("\The [src] found no beacons in the world to anchor a wormhole to."))
|
||||
return
|
||||
var/chosen_beacon = pick(L)
|
||||
var/obj/effect/portal/wormhole/jaunt_tunnel/J = new /obj/effect/portal/wormhole/jaunt_tunnel(get_turf(src), chosen_beacon, lifespan = 100)
|
||||
var/obj/effect/portal/wormhole/jaunt_tunnel/J = new /obj/effect/portal/wormhole/jaunt_tunnel(get_turf(src), chosen_beacon, null, 100)
|
||||
J.target = chosen_beacon
|
||||
playsound(src,'sound/effects/sparks4.ogg', 50, 1)
|
||||
qdel(src)
|
||||
|
||||
Reference in New Issue
Block a user