diff --git a/code/modules/mob/mob.dm b/code/modules/mob/mob.dm index 79f14b7bc67..9034890f97c 100644 --- a/code/modules/mob/mob.dm +++ b/code/modules/mob/mob.dm @@ -174,7 +174,8 @@ if(!isnum(forced_look)) var/atom/A = locateUID(forced_look) if(istype(A)) - if(get_dist(src, A) > (client ? client.view : world.view)) + var/view = client ? client.view : world.view + if(get_dist(src, A) > view || !(src in viewers(view, A))) forced_look = null to_chat(src, "Your direction target has left your view, you are no longer facing anything.") return