Merge pull request #13660 from Cameron653/NO_CRASHING

Bugfix Palooza
This commit is contained in:
Casey
2022-09-04 17:51:20 -04:00
committed by GitHub
4 changed files with 16 additions and 4 deletions
+2 -2
View File
@@ -133,9 +133,9 @@
to_chat(M, "<span class='notice'>Something blocks your way.</span>")
return
temptarg = pick(possible_turfs)
do_noeffect_teleport(M, temptarg, 0)
do_safe_teleport(M, temptarg, 0)
else if (istype(M, /atom/movable))
do_noeffect_teleport(M, target, 0)
do_safe_teleport(M, target, 0)
/obj/structure/portal_event/Destroy()
if(target)