mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-22 13:14:58 +05:00
fix
This commit is contained in:
parent
d2b35881e0
commit
d6bdfdfb7f
1 changed files with 3 additions and 5 deletions
|
@ -40,11 +40,9 @@ class Slots extends Command {
|
||||||
amount = Math.round(amount);
|
amount = Math.round(amount);
|
||||||
|
|
||||||
function getCredits(number, isJackpot) {
|
function getCredits(number, isJackpot) {
|
||||||
if (!isJackpot) {
|
if (!isJackpot) number = number * 1.5;
|
||||||
number = number * 1.5;
|
else if (isJackpot) number = number * 4;
|
||||||
} else if (isJackpot) {
|
|
||||||
number = number * 4;
|
|
||||||
};
|
|
||||||
return Math.round(number);
|
return Math.round(number);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue