Refactored the antagHUD to work better with the new antagonist system.

This commit is contained in:
Zuhayr
2015-09-05 18:40:32 +09:30
parent df3a2f3c9c
commit 90c9d31782
18 changed files with 26 additions and 31 deletions

View File

@@ -123,7 +123,7 @@ Works together with spawning an observer, noted above.
if(antagHUD)
var/list/target_list = list()
for(var/mob/living/target in oview(src, 14))
if(target.mind&&(target.mind.special_role||issilicon(target)) )
if(target.mind && target.mind.special_role)
target_list += target
if(target_list.len)
assess_targets(target_list, src)