From d1326398ddf79f6c952230371a46d2c9773f8aa1 Mon Sep 17 00:00:00 2001 From: Putnam Date: Sun, 20 Oct 2019 19:00:22 -0700 Subject: [PATCH] make extended vote majority instead of plurality --- code/controllers/subsystem/vote.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/controllers/subsystem/vote.dm b/code/controllers/subsystem/vote.dm index 2f84e0194a..23d4d3f134 100644 --- a/code/controllers/subsystem/vote.dm +++ b/code/controllers/subsystem/vote.dm @@ -155,7 +155,7 @@ SUBSYSTEM_DEF(vote) if("dynamic") if(SSticker.current_state > GAME_STATE_PREGAME)//Don't change the mode if the round already started. return message_admins("A vote has tried to change the gamemode, but the game has already started. Aborting.") - GLOB.dynamic_forced_extended = .=="extended" + GLOB.dynamic_forced_extended = choices["extended"]/voted.len > 0.5 if(GLOB.dynamic_forced_extended) return message_admins("Dynamic extended has been voted for.") var/mean = (choices["extended"]*-2+choices[PEACE2]*-2+choices[PEACE1]*-1+choices[CHAOS1]*1+choices[CHAOS2]*2)/voted.len