From c37af333aa9a17728b944f78fb70a960d10f25ab Mon Sep 17 00:00:00 2001 From: Kwoth Date: Wed, 19 Oct 2016 01:50:22 +0200 Subject: [PATCH] Fixed trivia --- src/NadekoBot/Modules/Games/Commands/Trivia/TriviaGame.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/NadekoBot/Modules/Games/Commands/Trivia/TriviaGame.cs b/src/NadekoBot/Modules/Games/Commands/Trivia/TriviaGame.cs index de1c3262..7e53f791 100644 --- a/src/NadekoBot/Modules/Games/Commands/Trivia/TriviaGame.cs +++ b/src/NadekoBot/Modules/Games/Commands/Trivia/TriviaGame.cs @@ -102,6 +102,8 @@ namespace NadekoBot.Modules.Games.Trivia private async Task End() { ShouldStopGame = true; + TriviaGame throwaway; + Games.TriviaCommands.RunningTrivias.TryRemove(channel.Guild.Id, out throwaway); try { await channel.SendMessageAsync("**Trivia game ended**\n" + GetLeaderboard()).ConfigureAwait(false); } catch { } }