From 41439472cb70472b30a22e1728ee58daf70055cb Mon Sep 17 00:00:00 2001 From: Vortrex <3858226+VortrexFTW@users.noreply.github.com> Date: Thu, 22 Apr 2021 09:27:56 -0500 Subject: [PATCH] Fix inflation multiplier util --- scripts/server/economy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/server/economy.js b/scripts/server/economy.js index a5a90692..07d0801b 100644 --- a/scripts/server/economy.js +++ b/scripts/server/economy.js @@ -22,7 +22,7 @@ function getTimeDisplayUntilPlayerPayDay(client) { // =========================================================================== function applyServerInflationMultiplier(value) { - return value*getServerConfig().inflationMultiplier; + return toInteger(Math.round(value*getServerConfig().inflationMultiplier)) } // =========================================================================== \ No newline at end of file