mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-26 22:57:39 +01:00
[MIRROR] fix some bad replaces (#9815)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
co-authored by
Kashargul
parent
0144bf1e6e
commit
0966f4d9fc
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user