Merge pull request #33888 from optimumtact/dothefandangomistersantiago
relic teleport no longer recursively calls itself
This commit is contained in:
committed by
CitadelStationBot
parent
a034383e15
commit
df080960d4
@@ -664,9 +664,9 @@
|
||||
|
||||
/obj/item/relic/proc/teleport(mob/user)
|
||||
to_chat(user, "<span class='notice'>[src] begins to vibrate!</span>")
|
||||
addtimer(CALLBACK(src, .proc/do_teleport, user), rand(10, 30))
|
||||
addtimer(CALLBACK(src, .proc/do_the_teleport, user), rand(10, 30))
|
||||
|
||||
/obj/item/relic/proc/do_teleport(mob/user)
|
||||
/obj/item/relic/proc/do_the_teleport(mob/user)
|
||||
var/turf/userturf = get_turf(user)
|
||||
if(loc == user && userturf.z != ZLEVEL_CENTCOM) //Because Nuke Ops bringing this back on their shuttle, then looting the ERT area is 2fun4you!
|
||||
visible_message("<span class='notice'>[src] twists and bends, relocating itself!</span>")
|
||||
|
||||
Reference in New Issue
Block a user