added alert sign to table full message

This commit is contained in:
Manuel Simon Hirsig
2016-03-25 19:35:29 +01:00
parent 0120609759
commit ed9cad1c44
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -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,
}
+1 -1
View File
@@ -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))