diff --git a/mapvote.js b/mapvote.js index d18be4c..8df3bdb 100644 --- a/mapvote.js +++ b/mapvote.js @@ -1025,9 +1025,10 @@ export default class MapVote extends DiscordBasePlugin { const ties = []; let highestScore = -Infinity; + const allScoreZero = this.tallies.find(s => s > 0) ? false : true; for (let choice in this.tallies) { const score = this.tallies[ choice ]; - if (score >= this.options.minimumVotesToAcceptResult) { + if (score >= this.options.minimumVotesToAcceptResult || allScoreZero) { if (score < highestScore) continue; else if (score > highestScore) {