From f29b20875cf29531072538a8990178aa8b44015c Mon Sep 17 00:00:00 2001 From: Manuel Simon Hirsig Date: Mon, 7 Sep 2015 04:49:16 +0200 Subject: [PATCH] fixed a bug with the no auctions message not being displayed --- Auctionator.lua | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Auctionator.lua b/Auctionator.lua index 5c86a64..d415ff9 100644 --- a/Auctionator.lua +++ b/Auctionator.lua @@ -298,10 +298,6 @@ end function Auctionator_Scan_Complete() - if getn(scanData) == 0 then - Auctionator_SetMessage("No auctions were found for \n\n"..currentAuctionItemName) - end - if currentQuery.onComplete then currentQuery.onComplete(scanData, currentQuery.name); end @@ -547,6 +543,8 @@ function Auctionator_UpdateRecommendation() else Auctionator_Recommend_Basis_Text:SetText("(based on auction selected below)") end + elseif auctionatorEntries[currentAuctionItemName] then + Auctionator_SetMessage("No auctions were found for \n\n"..currentAuctionItemName) else Auctionator_HideElems(recommendationElements) end