From ed9cad1c447484593b81d0f1507eeb579cf3ced3 Mon Sep 17 00:00:00 2001 From: Manuel Simon Hirsig Date: Fri, 25 Mar 2016 19:35:29 +0100 Subject: [PATCH] added alert sign to table full message --- search_frame.lua | 1 + tooltip.lua | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/search_frame.lua b/search_frame.lua index 17ef278..02064a6 100644 --- a/search_frame.lua +++ b/search_frame.lua @@ -44,6 +44,7 @@ end StaticPopupDialogs['AUX_SEARCH_TABLE_FULL'] = { text = 'Table full!\nFurther results from this search will be discarded.', button1 = 'Ok', + showAlert = 1, timeout = 0, hideOnEscape = 1, } diff --git a/tooltip.lua b/tooltip.lua index 838ddfb..2a4df84 100644 --- a/tooltip.lua +++ b/tooltip.lua @@ -176,7 +176,7 @@ end function game_tooltip_hooks:SetInboxItem(index) local name, _, quantity = GetInboxItem(index) - local id = Aux.cache.item_id(name) + local id = name and Aux.cache.item_id(name) if id then local _, itemstring, quality = GetItemInfo(id) local _, _, _, hex = GetItemQualityColor(tonumber(quality))