From de53abf0021c62be67416ce26f5f9652084e9d67 Mon Sep 17 00:00:00 2001 From: Dev Date: Wed, 24 Jul 2024 09:26:08 +0100 Subject: [PATCH] Rounded flea offers `requirementsCost` to nearest int --- project/src/generators/RagfairOfferGenerator.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/src/generators/RagfairOfferGenerator.ts b/project/src/generators/RagfairOfferGenerator.ts index da32ad22..230ac5dd 100644 --- a/project/src/generators/RagfairOfferGenerator.ts +++ b/project/src/generators/RagfairOfferGenerator.ts @@ -148,7 +148,7 @@ export class RagfairOfferGenerator { items: itemsClone, itemsCost: Math.round(this.handbookHelper.getTemplatePrice(items[0]._tpl)), // Handbook price requirements: offerRequirements, - requirementsCost: singleItemListingPrice, + requirementsCost: Math.round(singleItemListingPrice), summaryCost: roubleListingPrice, startTime: time, endTime: this.getOfferEndTime(userID, time),