Merge pull request #9374 from AnturK/abduction_third

Abduction fixes
This commit is contained in:
Remie Richards
2015-05-09 06:25:23 +01:00
4 changed files with 21 additions and 13 deletions
+3 -3
View File
@@ -564,7 +564,7 @@ client/proc/one_click_antag()
if(candidates.len >= 2)
//Oh god why we can't have static functions
var/teams_finished = 0
if(ticker.mode.config_tag == "abductor")
if(ticker.mode.config_tag == "abduction")
var/datum/game_mode/abduction/A = ticker.mode
teams_finished = A.teams
else
@@ -572,7 +572,7 @@ client/proc/one_click_antag()
var/number = teams_finished + 1
var/datum/game_mode/abduction/temp
if(ticker.mode.config_tag == "abductor")
if(ticker.mode.config_tag == "abduction")
temp = ticker.mode
else
temp = new
@@ -597,7 +597,7 @@ client/proc/one_click_antag()
temp.abductors |= list(agent_mind,scientist_mind)
temp.make_abductor_team(number,preset_scientist=scientist_mind,preset_agent=agent_mind)
temp.post_setup_team(number)
if(ticker.mode.config_tag == "abductor")
if(ticker.mode.config_tag == "abduction")
var/datum/game_mode/abduction/A = ticker.mode
A.teams += 1
else