From 4b0c8a2d0e9d3657d484d85bbad8a8993f102d07 Mon Sep 17 00:00:00 2001 From: Dahlular <55758850+Dahlular@users.noreply.github.com> Date: Mon, 22 Mar 2021 11:25:32 -0600 Subject: [PATCH] Revert "Revert "idk what to call this"" --- code/controllers/subsystem/vote.dm | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/code/controllers/subsystem/vote.dm b/code/controllers/subsystem/vote.dm index df5ea45d..d6673894 100644 --- a/code/controllers/subsystem/vote.dm +++ b/code/controllers/subsystem/vote.dm @@ -149,9 +149,14 @@ SUBSYSTEM_DEF(vote) if("5") v += winners[option] //Add the number votes to the pool numbers += (winners[option]*5) //Add the value of the vote to numbers - while (v < DYNAMIC_VOTE_NORMALIZATION) //For low low pop, low vote rounds. - numbers += DYNAMIC_DEFAULT_CHAOS //stops the one person voting from setting the chaos to five and flooding the station with anomalies - v += 1 + if(v < DYNAMIC_VOTE_NORMALIZATION) + while (v < DYNAMIC_VOTE_NORMALIZATION) //For low low pop, low vote rounds. + numbers += DYNAMIC_DEFAULT_CHAOS //stops the one person voting from setting the chaos to five and flooding the station with anomalies + v += 1 + else if (voted.len < GLOB.clients.len) //Have non-voters "vote" 2, if we're not lowpop + for(var/I in 1 to (GLOB.clients.len - voted.len)) + v += 1 + numbers += 2 var/total = 0 for (var/i in numbers) total += i