Teleporter Safety (#9879)

* Teleporter Safety

* better keyword

* initialize can't handle skips
This commit is contained in:
Geeves
2020-10-06 14:30:53 +02:00
committed by GitHub
parent bd064d3f53
commit eac305e39b
7 changed files with 119 additions and 80 deletions
+1 -1
View File
@@ -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)