Its a Hud, its suppost to change if theres a mob in the view of the person, But it doesnt, so there must be somthing im doing wrong. Does any one know?
Update_Enemy(mob/M as mob)
for(var/obj/Enemy/C in M.client.screen)
for(var/mob/L in world)
for(L in view())
if(M == L) return