diff --git a/code/_onclick/observer.dm b/code/_onclick/observer.dm index 5f0c94ecee6..460bc0193f6 100644 --- a/code/_onclick/observer.dm +++ b/code/_onclick/observer.dm @@ -61,6 +61,8 @@ // health + cyborg analyzer for ghosts /mob/living/attack_ghost(mob/dead/observer/user) + if(!istype(user)) // Make sure user is actually an observer. Revenents also use attack_ghost, but do not have the health_scan var. + return if(user.client && user.health_scan) if(issilicon(src) || ismachine(src)) robot_healthscan(user, src)