fix some bad replaces (#16856)

This commit is contained in:
Kashargul
2025-01-06 18:30:42 +01:00
committed by GitHub
parent 04c482e97b
commit df3d303f97
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -802,7 +802,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.
@@ -945,7 +945,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
@@ -155,7 +155,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())