From 63b33f40cf2171e9daf5324fa5f2c9f45b949a2f Mon Sep 17 00:00:00 2001 From: AnturK Date: Sun, 3 May 2015 15:15:09 +0200 Subject: [PATCH] Fixes button created teams not adding to gamemode --- code/modules/admin/verbs/one_click_antag.dm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/modules/admin/verbs/one_click_antag.dm b/code/modules/admin/verbs/one_click_antag.dm index fb2f3bff40f..4737e42fa39 100644 --- a/code/modules/admin/verbs/one_click_antag.dm +++ b/code/modules/admin/verbs/one_click_antag.dm @@ -566,7 +566,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 @@ -574,7 +574,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 @@ -599,7 +599,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