small waifu fix

This commit is contained in:
Kwoth 2017-02-11 15:21:09 +01:00
parent f91bb28979
commit 46e74f64f0

View File

@ -110,7 +110,7 @@ namespace NadekoBot.Modules.Gambling
result = WaifuClaimResult.Success; result = WaifuClaimResult.Success;
} }
} }
else if (isAffinity && amount >= w.Price * 0.88f) else if (isAffinity && amount > w.Price * 0.88f)
{ {
if (!await CurrencyHandler.RemoveCurrencyAsync(Context.User.Id, "Claimed Waifu", amount, uow).ConfigureAwait(false)) if (!await CurrencyHandler.RemoveCurrencyAsync(Context.User.Id, "Claimed Waifu", amount, uow).ConfigureAwait(false))
{ {