[MIRROR] fix some bad replaces (#9815)

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-01-07 04:45:06 +01:00
committed by GitHub
co-authored by Kashargul
parent 0144bf1e6e
commit 0966f4d9fc
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -832,7 +832,7 @@ Turf and target are seperate in case you want to teleport some distance from a t
//Move the mobs unless it's an AI eye or other eye type.
for(var/mob/M in T)
if(isobserver(M)) continue // If we need to check for more mobs, I'll add a variable
if(isEye(M)) continue // If we need to check for more mobs, I'll add a variable
M.loc = X
if(z_level_change) // Same goes for mobs.
@@ -979,7 +979,7 @@ Turf and target are seperate in case you want to teleport some distance from a t
for(var/mob/M in T)
if(!ismob(M) || isobserver(M)) continue // If we need to check for more mobs, I'll add a variable
if(!ismob(M) || isEye(M)) continue // If we need to check for more mobs, I'll add a variable
mobs += M
for(var/mob/M in mobs)
+1 -1
View File
@@ -154,7 +154,7 @@
for(var/mob/viewer in m_viewers)
if(viewer.client && viewer.client.prefs?.read_preference(/datum/preference/toggle/show_looc))
receivers |= viewer.client
else if(isobserver(viewer)) // For AI eyes and the like
else if(isEye(viewer)) // For AI eyes and the like
var/mob/observer/eye/E = viewer
if(E.owner && E.owner.client)
receivers |= E.owner.client
+1 -1
View File
@@ -102,7 +102,7 @@
return
// Don't let AI eyes yeet themselves off the map
if(isobserver(A))
if(isEye(A))
return
if(A.lost_in_space())