Fixed trivia

This commit is contained in:
Kwoth 2016-10-19 01:50:22 +02:00
parent be89ab7ecf
commit c37af333aa

View File

@ -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 { }
}