woopsie, unimportant NRE fixed

This commit is contained in:
Kwoth 2016-07-29 15:27:05 +02:00
parent 2dc9ce169b
commit c82f7feaf4

View File

@ -59,6 +59,7 @@ namespace NadekoBot.Modules.Gambling.Commands
if (!AnimalRaces.TryGetValue(e.Server.Id, out ar)) if (!AnimalRaces.TryGetValue(e.Server.Id, out ar))
{ {
await e.Channel.SendMessage("No race exists on this server"); await e.Channel.SendMessage("No race exists on this server");
return;
} }
await ar.JoinRace(e.User, amount); await ar.JoinRace(e.User, amount);