Fixed trivia
This commit is contained in:
parent
be89ab7ecf
commit
c37af333aa
@ -102,6 +102,8 @@ namespace NadekoBot.Modules.Games.Trivia
|
|||||||
private async Task End()
|
private async Task End()
|
||||||
{
|
{
|
||||||
ShouldStopGame = true;
|
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 { }
|
try { await channel.SendMessageAsync("**Trivia game ended**\n" + GetLeaderboard()).ConfigureAwait(false); } catch { }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user