Fix AI multicam exploits & a few other bugs

This commit is contained in:
ShadowLarkens
2020-05-10 21:15:52 -07:00
parent ad2d9d058d
commit 9cf164d66c
5 changed files with 130 additions and 30 deletions
+5
View File
@@ -63,11 +63,16 @@ proc/overmap_spacetravel(var/turf/space/T, var/atom/movable/A)
if (!M)
return
// Don't let AI eyes yeet themselves off the map
if(istype(A, /mob/observer/eye))
return
if(A.lost_in_space())
if(!QDELETED(A))
qdel(A)
return
var/nx = 1
var/ny = 1
var/nz = 1