Merge pull request #7773 from Verkister/patch-56

Fixes unreachable landmarks breaking spacetravel
This commit is contained in:
Atermonera
2020-12-07 16:07:03 -09:00
committed by VirgoBot
parent 8954f5e96a
commit 153eadeb0f
+4
View File
@@ -85,6 +85,10 @@ proc/overmap_spacetravel(var/turf/space/T, var/atom/movable/A)
if (!M)
return
// Is the landmark still on the map.
if(!isturf(M.loc))
return
// Don't let AI eyes yeet themselves off the map
if(istype(A, /mob/observer/eye))
return