diff --git a/triviabot.js b/triviabot.js index 3ca8a1a..c8fb887 100644 --- a/triviabot.js +++ b/triviabot.js @@ -948,7 +948,7 @@ Trivia.doGame = async function(id, channel, author, scheduled, config, category, "config": typeof game[id]!=="undefined"?game[id].config:config }; // DELTA - Adding fixed number of rounds game -if(isFirstQuestion && getConfigVal("use-fixed-rounds", channel) !== false) { +if(isFirstQuestion && getConfigVal("use-fixed-rounds", channel) === true) { game[id].config.customRoundCount = getConfigVal("rounds-fixed-number", channel); game[id].config.useFixedRounds = 1; if(getConfigVal("debug-log")) { console.log("Setting CustomRoundCount to: " + game[id].config.customRoundCount); } // DELTA - Debug output