From dcc27a4a994ec7da1bd25ed2fd521f84cf98c4ec Mon Sep 17 00:00:00 2001 From: Kwoth Date: Thu, 19 Jan 2023 06:55:33 +0100 Subject: [PATCH] Fixed trivia --nohint, fixes #398 --- src/NadekoBot/Modules/Games/Trivia/TriviaGame.cs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/NadekoBot/Modules/Games/Trivia/TriviaGame.cs b/src/NadekoBot/Modules/Games/Trivia/TriviaGame.cs index da0eed93d..fc463f5e2 100644 --- a/src/NadekoBot/Modules/Games/Trivia/TriviaGame.cs +++ b/src/NadekoBot/Modules/Games/Trivia/TriviaGame.cs @@ -131,9 +131,12 @@ public sealed class TriviaGame hintSent = true; // start a new countdown of the same length halfGuessTimerTask = TimeOutFactory(); - // send a hint out - await OnHint(this, question); - + if (!_opts.NoHint) + { + // send a hint out + await OnHint(this, question); + } + continue; }