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);
|
||||
|
||||
function getCredits(number, isJackpot) {
|
||||
if (!isJackpot) {
|
||||
number = number * 1.5;
|
||||
} else if (isJackpot) {
|
||||
number = number * 4;
|
||||
};
|
||||
if (!isJackpot) number = number * 1.5;
|
||||
else if (isJackpot) number = number * 4;
|
||||
|
||||
return Math.round(number);
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue