mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
fixes wormhole jaunters (#28706)
* Update wormhole_jaunter.dm * Don't feel like waiting for @kevinz000 to do this
This commit is contained in:
@@ -53,7 +53,7 @@
|
|||||||
to_chat(user, "<span class='notice'>The [src.name] found no beacons in the world to anchor a wormhole to.</span>")
|
to_chat(user, "<span class='notice'>The [src.name] found no beacons in the world to anchor a wormhole to.</span>")
|
||||||
return
|
return
|
||||||
var/chosen_beacon = pick(L)
|
var/chosen_beacon = pick(L)
|
||||||
var/obj/effect/portal/wormhole/jaunt_tunnel/J = new /obj/effect/portal/wormhole/jaunt_tunnel(get_turf(src), src, lifespan=100, null, FALSE, get_turf(chosen_beacon))
|
var/obj/effect/portal/wormhole/jaunt_tunnel/J = new (get_turf(src), src, 100, null, FALSE, get_turf(chosen_beacon))
|
||||||
try_move_adjacent(J)
|
try_move_adjacent(J)
|
||||||
playsound(src,'sound/effects/sparks4.ogg',50,1)
|
playsound(src,'sound/effects/sparks4.ogg',50,1)
|
||||||
qdel(src)
|
qdel(src)
|
||||||
|
|||||||
Reference in New Issue
Block a user