small fix
This commit is contained in:
parent
655b98d16d
commit
c1b14cc96b
@ -144,11 +144,11 @@ namespace NadekoBot.Modules.Gambling
|
|||||||
await ReplyErrorLocalized("min_bet_limit", 1 + CurrencySign).ConfigureAwait(false);
|
await ReplyErrorLocalized("min_bet_limit", 1 + CurrencySign).ConfigureAwait(false);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
const int maxAmount = 9999;
|
||||||
if (amount > 9999)
|
if (amount > maxAmount)
|
||||||
{
|
{
|
||||||
GetText("slot_maxbet", 999 + CurrencySign);
|
GetText("slot_maxbet", maxAmount + CurrencySign);
|
||||||
await ReplyErrorLocalized("max_bet_limit", 999 + CurrencySign).ConfigureAwait(false);
|
await ReplyErrorLocalized("max_bet_limit", maxAmount + CurrencySign).ConfigureAwait(false);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user