From 42d3a6c27e6f24c260e618334a6233899e7ee75a Mon Sep 17 00:00:00 2001 From: Manuel Simon Hirsig Date: Sat, 12 Sep 2015 01:38:33 +0200 Subject: [PATCH] small bugfix with stale report --- sell.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sell.lua b/sell.lua index ad72b2c..fbe37e8 100644 --- a/sell.lua +++ b/sell.lua @@ -113,6 +113,7 @@ end ----------------------------------------- function Aux_UpdateRecommendation() + AuxRecommendLastRefreshText:Hide() if not currentAuctionItemName then AuxSellRefreshButton:Disable() @@ -123,8 +124,7 @@ function Aux_UpdateRecommendation() if selectedAuxEntry then if not auxSellEntries[currentAuctionItemName].created or GetTime() - auxSellEntries[currentAuctionItemName].created > 1800 then AuxRecommendLastRefreshText:SetText("STALE DATA") -- data older than half an hour marked as stale - else - AuxRecommendLastRefreshText:SetText("") + AuxRecommendLastRefreshText:Show() end local newBuyoutPrice = selectedAuxEntry.itemPrice * currentAuctionItemStackSize