From c82f7feaf4160f5316c2a54df0c2867690165b85 Mon Sep 17 00:00:00 2001 From: Kwoth Date: Fri, 29 Jul 2016 15:27:05 +0200 Subject: [PATCH] woopsie, unimportant NRE fixed --- NadekoBot/Modules/Gambling/Commands/AnimalRacing.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/NadekoBot/Modules/Gambling/Commands/AnimalRacing.cs b/NadekoBot/Modules/Gambling/Commands/AnimalRacing.cs index bdfed47f..a908128c 100644 --- a/NadekoBot/Modules/Gambling/Commands/AnimalRacing.cs +++ b/NadekoBot/Modules/Gambling/Commands/AnimalRacing.cs @@ -59,6 +59,7 @@ namespace NadekoBot.Modules.Gambling.Commands if (!AnimalRaces.TryGetValue(e.Server.Id, out ar)) { await e.Channel.SendMessage("No race exists on this server"); + return; } await ar.JoinRace(e.User, amount);