From b09ad653c282c2c079ff462b1ede753c7100f9b8 Mon Sep 17 00:00:00 2001 From: Manuel Simon Hirsig Date: Sat, 12 Sep 2015 01:36:51 +0200 Subject: [PATCH] also reporting missing creation date as stale now --- sell.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sell.lua b/sell.lua index 151819e..ad72b2c 100644 --- a/sell.lua +++ b/sell.lua @@ -121,7 +121,7 @@ function Aux_UpdateRecommendation() AuxSellRefreshButton:Enable() if selectedAuxEntry then - if auxSellEntries[currentAuctionItemName].created and GetTime() - auxSellEntries[currentAuctionItemName].created > 1800 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("")