From e6d353dd016ca3b0c7ddc3810dd1706948cc8788 Mon Sep 17 00:00:00 2001 From: Putnam Date: Thu, 6 Feb 2020 15:56:58 -0800 Subject: [PATCH] that's not how switch works... --- code/controllers/subsystem/ticker.dm | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/code/controllers/subsystem/ticker.dm b/code/controllers/subsystem/ticker.dm index f0c9e3499c..d73bde6763 100755 --- a/code/controllers/subsystem/ticker.dm +++ b/code/controllers/subsystem/ticker.dm @@ -480,12 +480,14 @@ SUBSYSTEM_DEF(ticker) switch(CONFIG_GET(string/map_vote_type)) if("PLURALITY") SSvote.initiate_vote("map","server",TRUE) - else if("APPROVAL") + if("APPROVAL") SSvote.initiate_vote("map","server",TRUE,votesystem = APPROVAL_VOTING) - else if("IRV") + if("IRV") SSvote.initiate_vote("map","server",TRUE,votesystem = INSTANT_RUNOFF_VOTING) - else if("SCORE") + if("SCORE") SSvote.initiate_vote("map","server",TRUE,votesystem = MAJORITY_JUDGEMENT_VOTING) + // fallback + SSvote.initiate_vote("map","server",TRUE) /datum/controller/subsystem/ticker/proc/HasRoundStarted() return current_state >= GAME_STATE_PLAYING