Makes posibrain pings check observers properly

This commit is contained in:
Krausus
2016-07-27 02:34:43 -04:00
parent dc9591e502
commit 08c1dab72f
@@ -196,7 +196,7 @@
return
if(brainmob && brainmob.key)
return // No point pinging a posibrain with a player already inside
if(O.can_reenter_corpse && (world.time >= next_ping_at))
if(check_observer(O) && (world.time >= next_ping_at))
next_ping_at = world.time + (20 SECONDS)
var/turf/T = get_turf_or_move(src.loc)
for(var/mob/M in viewers(T))