[MIRROR] Refactors do_teleport (#11935)

Co-authored-by: Guti <32563288+TheCaramelion@users.noreply.github.com>
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-11-07 15:17:27 -07:00
committed by GitHub
parent 806a61ef5c
commit 1f8f2888f4
15 changed files with 185 additions and 258 deletions

View File

@@ -135,9 +135,9 @@
to_chat(M, span_notice("Something blocks your way."))
return
temptarg = pick(possible_turfs)
do_safe_teleport(M, temptarg, 0)
do_teleport(M, temptarg)
else if (istype(M, /atom/movable))
do_safe_teleport(M, target, 0)
do_teleport(M, target)
/obj/structure/portal_event/Destroy()
if(target)