Antags are now never eligible to be patient zero.

Includes on-station antags. Fixes #10798.
This commit is contained in:
PsiOmega
2015-08-22 14:37:40 +02:00
parent 392eef3939
commit f1323c35a9

View File

@@ -35,7 +35,7 @@ datum/event/viral_infection/start()
var/list/candidates = list() //list of candidate keys
for(var/mob/living/carbon/human/G in player_list)
if(G.stat != DEAD && G.is_client_active(5))
if(G.mind && G.stat != DEAD && G.is_client_active(5) && !player_is_antag(G.mind))
var/turf/T = get_turf(G)
if(T.z in config.station_levels)
candidates += G