Quantcast

Skip re-loading an item if it's already been fully loaded

Kevin Lyles [02-11-10 - 22:21]
Skip re-loading an item if it's already been fully loaded
Filename
ItemScanner.lua
diff --git a/ItemScanner.lua b/ItemScanner.lua
index e29efe2..785c007 100644
--- a/ItemScanner.lua
+++ b/ItemScanner.lua
@@ -22,6 +22,10 @@ local function scanItemLink(link)
 		end
 	end

+	if IS_item_info[link] and #(IS_item_info[link]) >= ItemScannerHiddenTooltip:NumLines() then
+		return true
+	end
+
 	IS_item_info[link] = {
 		itemInfo = {GetItemInfo(link)},
 		itemSpell = {GetItemSpell(link)},