Fix rev highpop feature

This commit is contained in:
ZomgPonies
2015-02-17 18:39:38 -05:00
parent 8a0d5f05d8
commit 7db0bf1d93
2 changed files with 7 additions and 2 deletions
+5
View File
@@ -442,6 +442,11 @@ Implants;
if(P.client && P.ready)
. ++
/datum/game_mode/proc/num_players_started()
. = 0
for(var/mob/living/carbon/human/H in player_list)
if(P.client)
. ++
///////////////////////////////////
//Keeps track of all living heads//
+2 -2
View File
@@ -75,7 +75,7 @@
/datum/game_mode/revolution/post_setup()
var/list/heads = get_living_heads()
if(num_players() >= 40)
if(num_players_started() >= 30)
heads += get_extra_living_heads()
extra_heads = 1
@@ -113,7 +113,7 @@
/datum/game_mode/proc/forge_revolutionary_objectives(var/datum/mind/rev_mind)
var/list/heads = get_living_heads()
if(num_players() >= 40)
if(num_players_started() >= 30)
heads += get_extra_living_heads()
extra_heads = 1
for(var/datum/mind/head_mind in heads)