Skip to content

Commit cd6c98a

Browse files
author
Chomp
committed
Fixed AdjustUnreasonablePrice not correctly adjusting prices
1 parent ed77ed3 commit cd6c98a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Libraries/SPTarkov.Server.Core/Services/RagfairPriceService.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -389,10 +389,6 @@ public double GetDynamicOfferPriceForOffer(IEnumerable<Item> offerItems, MongoId
389389
protected double AdjustUnreasonablePrice(UnreasonableModPrices unreasonableItemChange, MongoId itemTpl, double price)
390390
{
391391
var itemHandbookPrice = handbookHelper.GetTemplatePrice(itemTpl);
392-
if (itemHandbookPrice > 0)
393-
{
394-
return price;
395-
}
396392

397393
// Flea price is over handbook price
398394
if (price > itemHandbookPrice * unreasonableItemChange.HandbookPriceOverMultiplier)

0 commit comments

Comments
 (0)