From ddac44f79dc81d8e00fa55130cd2a143c028a3fd Mon Sep 17 00:00:00 2001 From: Dev Date: Tue, 6 Feb 2024 10:33:59 +0000 Subject: [PATCH] Divide roubles calculated inside `calculateCostOfScavInventoryAndMailMoneyToPlayer()` by half --- project/src/controllers/TradeController.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/project/src/controllers/TradeController.ts b/project/src/controllers/TradeController.ts index 270868ca..7b2b9b7f 100644 --- a/project/src/controllers/TradeController.ts +++ b/project/src/controllers/TradeController.ts @@ -307,6 +307,10 @@ export class TradeController traderDetails, ); } + + // Server-side calcualted isnt matching clientside calcualtion, temp fix to get it to be closer + roublesToSend /= 2; + this.logger.debug(`Selling scav items to fence for ${roublesToSend} roubles`); // Create single currency item with all currency on it