Fixes Autoantag Assigning to Invalid Mobs

Uses a mob var to determine antag validity instead of typechecks, since I believe this will work out better in the long term.  Inheritance can automatically make new mobs we make be invalid by default.
This commit is contained in:
Neerti
2017-07-23 20:19:24 -04:00
parent 91b06c20d1
commit 3268ebe769
9 changed files with 23 additions and 8 deletions

View File

@@ -22,6 +22,8 @@
var/integrated_light_power = 6
var/datum/wires/robot/wires
can_be_antagged = TRUE
//Icon stuff
var/icontype //Persistent icontype tracking allows for cleaner icon updates