From 00b64a4d81824c505dae055a1459b434e60d4df8 Mon Sep 17 00:00:00 2001 From: tec <tec@ucc.gu.uwa.edu.au> Date: Sat, 26 Oct 2019 17:59:57 +0800 Subject: [PATCH] Fix tiebreaker votes being too powerfull --- src/voting.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/voting.rs b/src/voting.rs index a43b663..a652e41 100644 --- a/src/voting.rs +++ b/src/voting.rs @@ -230,19 +230,19 @@ fn update_motion( let for_strength = for_votes as f32 + (if has_tiebreaker(motion_info.votes.get(config::FOR_VOTE).unwrap()) { - 0.5 + 0.25 } else { 0.0 }); let against_strength = against_votes as f32 + (if has_tiebreaker(motion_info.votes.get(config::AGAINST_VOTE).unwrap()) { - 0.5 + 0.25 } else { 0.0 }); let abstain_strength = abstain_votes as f32 + (if has_tiebreaker(motion_info.votes.get(config::ABSTAIN_VOTE).unwrap()) { - 0.5 + 0.25 } else { 0.0 }); -- GitLab