Fix int values (it apparently should be 1,7 but I guess not?)

This commit is contained in:
Lncvrt 2025-06-25 11:31:25 -07:00
parent 3030919616
commit 5a662388ae
No known key found for this signature in database
GPG key ID: 032FCF8600975467

View file

@ -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)}`); 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 won = gameResult === selectedNumber;
const multiplier = 3; const multiplier = 3;