ace is the strongest high card #423

This commit is contained in:
Kwoth 2016-07-20 22:58:41 +02:00
parent 2e6bdc9f08
commit ae6deee1db

View File

@ -226,7 +226,7 @@ namespace NadekoBot.Modules.Gambling.Helpers
{
return kvp.Key;
}
return "High card " + cards.Max().GetName();
return "High card " + (cards.FirstOrDefault(c => c.Number == 1)?.GetName() ?? cards.Max().GetName());
}
}
}