From e663602de99d787067f686ec06ad999d1a27d29b Mon Sep 17 00:00:00 2001 From: JonnyBro Date: Wed, 19 Jan 2022 22:23:10 +0500 Subject: [PATCH] =?UTF-8?q?=D1=84=D0=B8=D0=BA=D1=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- commands/Fun/horserace.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/Fun/horserace.js b/commands/Fun/horserace.js index 9e7eaad5..8de6d78b 100644 --- a/commands/Fun/horserace.js +++ b/commands/Fun/horserace.js @@ -95,7 +95,7 @@ class Horserace extends Command { if (horsePositions[i] === 3) { const winnings = []; - const profit = Math.floor((((8.9 / 9) * (10 - thisGame.horseSpeeds[i])) + 1.1) * 10) / 10; + const profit = Math.floor((((8.9 / 9) * (6 - thisGame.horseSpeeds[i])) + 1.1) * 10) / 10; for (let j = 0; j < Object.keys(thisGame.bets).length; j++) { if (Object.values(thisGame.bets)[j].horse === i + 1) {