Merge pull request #333 from ZomgPonies/master

Fix rev highpop feature
This commit is contained in:
Mark van Alphen
2015-02-18 05:05:29 +01:00
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(H.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)