This commit is contained in:
JonnyBro 2021-12-31 11:39:05 +05:00
parent d2b35881e0
commit d6bdfdfb7f

View file

@ -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);
}; };