diff --git a/src/games/trivia.js b/src/games/trivia.js index ffb4a62..ce3e311 100644 --- a/src/games/trivia.js +++ b/src/games/trivia.js @@ -195,7 +195,7 @@ async function onMessage(message, context) { game.ac.abort(); } - if (settings.mode === 'timeout') { + if (settings.mode === 'timeout' && !game.ac.signal.aborted) { if (message.type === 'message') { context.sendMessage(`**${fullAnswer || answer}** is the correct answer! You might want to **/whisper** the answer to me instead, so others can't leech off your impeccable knowledge. You will receive a point at the end of the round.`, context.room.id, null, context.user.username); } else {