fix for artifact teleportation effect

will no longer teleport you inside random objects.

Signed-off-by: Mloc <colmohici@gmail.com>
This commit is contained in:
Mloc
2014-10-01 09:54:39 +01:00
parent bb2953b283
commit 39781326cc

View File

@@ -13,10 +13,11 @@
var/datum/effect/effect/system/spark_spread/sparks = new /datum/effect/effect/system/spark_spread()
sparks.set_up(3, 0, get_turf(user))
sparks.start()
//
user.loc = pick(orange(get_turf(holder), 50))
user.Move(pick(trange(50, get_turf(holder))))
sparks = new /datum/effect/effect/system/spark_spread()
sparks.set_up(3, 0, get_turf(user))
sparks.set_up(3, 0, user.loc)
sparks.start()
/datum/artifact_effect/teleport/DoEffectAura()