Commit 00b64a4d authored by tec's avatar tec

Fix tiebreaker votes being too powerfull

parent 6dabeb78
......@@ -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
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment