Fix int values (it apparently should be 1,7 but I guess not?)
This commit is contained in:
parent
3030919616
commit
5a662388ae
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ export const POST: RequestHandler = async ({ request }) => {
|
|||
throw new Error(`Insufficient funds. You need *${roundedAmount.toFixed(2)} but only have *${roundedBalance.toFixed(2)}`);
|
||||
}
|
||||
|
||||
const gameResult = randomInt(1, 7);
|
||||
const gameResult = randomInt(1, 6);
|
||||
const won = gameResult === selectedNumber;
|
||||
|
||||
const multiplier = 3;
|
||||
|
|
|
|||
Reference in a new issue