Bluespace anomalies: Don't teleport camera entities (#61966)

* Bluespace anomalies: Don't teleport camera entities

This means that AI eye, Blob overmind eye, advanced camera consoles and the
Xeniobiology console will no longer be teleported by the bluespace anomaly
event. This is particularly relevant for the Xenobiology console, as the
camera is not supposed to be able to see outside of their area, or be able
to move back from outside of their area.

Co-authored-by: Fikou <23585223+Fikou@users.noreply.github.com>
This commit is contained in:
esainane
2021-10-09 04:30:34 -07:00
committed by GitHub
co-authored by Fikou
parent e663308b0d
commit 3960e93dc2
+2
View File
@@ -283,6 +283,8 @@
for (var/atom/movable/A in urange(12, FROM )) // iterate thru list of mobs in the area
if(istype(A, /obj/item/beacon))
continue // don't teleport beacons because that's just insanely stupid
if(iscameramob(A))
continue // Don't mess with AI eye, blob eye, xenobio or advanced cameras
if(A.anchored)
continue