Antagonist system refactor. Fixes #9495, #9290, #9521, #8800 and #9465.

This commit is contained in:
Zuhayr
2015-06-21 14:35:33 +09:30
parent af59dbab55
commit ec5e05b9f1
34 changed files with 598 additions and 520 deletions

View File

@@ -237,7 +237,7 @@ datum/controller/vote
return 0
for(var/antag_type in all_antag_types)
var/datum/antagonist/antag = all_antag_types[antag_type]
if(!(antag.id in additional_antag_types) && (antag.flags & ANTAG_VOTABLE))
if(!(antag.id in additional_antag_types) && antag.is_votable())
choices.Add(antag.role_text)
choices.Add("None")
if("custom")