Verified Commit 0a652e47 authored by Repooc's avatar Repooc

prevent error comparing to nil if u delete or sell ur regular hs as i can use...

prevent error comparing to nil if u delete or sell ur regular hs as i can use a toy instead that shares the same cd
parent c879ed66
......@@ -482,10 +482,12 @@ function LP:ItemList()
break
else
local curPriorirty = hsRealPrio[tostring(ID)]
if curPriorirty < priority then
if curPriorirty and curPriorirty < priority then
priority = curPriorirty
ShownHearthstone = data
end
if priority == 1 then break end
end
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment