From 3960e93dc232789d9dae7ee2d56a34340bc0141b Mon Sep 17 00:00:00 2001 From: esainane Date: Sun, 10 Oct 2021 00:30:34 +1300 Subject: [PATCH] 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> --- code/game/objects/effects/anomalies.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/game/objects/effects/anomalies.dm b/code/game/objects/effects/anomalies.dm index 6947c636f83..263d88f88a7 100644 --- a/code/game/objects/effects/anomalies.dm +++ b/code/game/objects/effects/anomalies.dm @@ -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