mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 06:29:23 +01:00
Fixes statues moving in front of mechs
This commit is contained in:
@@ -119,6 +119,10 @@
|
||||
if(M.client && CanAttack(M) && !issilicon(M))
|
||||
if(!M.eye_blind)
|
||||
return M
|
||||
for(var/obj/mecha/M in view(world.view + 1, check)) //assuming if you can see them they can see you
|
||||
if(M.occupant && M.occupant.client)
|
||||
if(!M.occupant.eye_blind)
|
||||
return M.occupant
|
||||
return null
|
||||
|
||||
// Cannot talk
|
||||
|
||||
Reference in New Issue
Block a user