mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
[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:
committed by
GitHub
parent
806a61ef5c
commit
1f8f2888f4
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user