From 8c0ef71d1120e598a1668b6d4fe7397a6a5292be Mon Sep 17 00:00:00 2001 From: Manuel Simon Hirsig Date: Mon, 28 Sep 2015 00:42:59 +0200 Subject: [PATCH] fixed an issue with setting starting price --- sell.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sell.lua b/sell.lua index 8150b7d..9284442 100644 --- a/sell.lua +++ b/sell.lua @@ -175,7 +175,7 @@ function Aux_UpdateRecommendation() newBuyoutPrice = undercut(newBuyoutPrice) end - local newStartPrice = newBuyoutPrice * 0.95 + local newStartPrice = newBuyoutPrice * 0.95 AuxMessage:Hide() Aux_ShowElems(Aux.tabs.sell.recommendationElements) @@ -198,8 +198,8 @@ function Aux_UpdateRecommendation() MoneyFrame_Update("AuxRecommendPerItemPrice", Aux_Round(newBuyoutPrice / currentAuction.stackSize)) MoneyFrame_Update("AuxRecommendPerStackPrice", Aux_Round(newBuyoutPrice)) - MoneyInputFrame_SetCopper(BuyoutPrice, newBuyoutPrice) - MoneyInputFrame_SetCopper(StartPrice, newStartPrice) + MoneyInputFrame_SetCopper(BuyoutPrice, Aux_Round(newBuyoutPrice)) + MoneyInputFrame_SetCopper(StartPrice, Aux_Round(newStartPrice)) if auxSellEntries[currentAuction.name].selected.stackSize == auxSellEntries[currentAuction.name][1].stackSize and auxSellEntries[currentAuction.name].selected.buyoutPrice == auxSellEntries[currentAuction.name][1].buyoutPrice then AuxRecommendBasisText:SetText("(based on cheapest)")