Mercurial > wow > itemauditor
comparison Modules/Crafting.lua @ 61:b24dbfbe2aef
Fixed an infinite loop when when adding items to the Skillet queue from the crafting interface.
| author | Asa Ayers <Asa.Ayers@Gmail.com> |
|---|---|
| date | Tue, 27 Jul 2010 11:56:00 -0700 |
| parents | 069f39f62104 |
| children | e7d287cc3b02 |
comparison
equal
deleted
inserted
replaced
| 60:069f39f62104 | 61:b24dbfbe2aef |
|---|---|
| 53 while data do | 53 while data do |
| 54 local skillString = select(3, string.find(data.recipeLink, "^|%x+|H(.+)|h%[.+%]")) | 54 local skillString = select(3, string.find(data.recipeLink, "^|%x+|H(.+)|h%[.+%]")) |
| 55 local _, skillId = strsplit(":", skillString) | 55 local _, skillId = strsplit(":", skillString) |
| 56 | 56 |
| 57 ItemAuditor:AddToQueue(skillId,tradeSkillIndex, data.queue) | 57 ItemAuditor:AddToQueue(skillId,tradeSkillIndex, data.queue) |
| 58 | 58 index = index + 1 |
| 59 local data = ItemAuditor:GetCraftingRow(index) | 59 data = ItemAuditor:GetCraftingRow(index) |
| 60 | |
| 60 end | 61 end |
| 61 end | 62 end |
| 62 | 63 |
| 63 local craftingContent = false | 64 local craftingContent = false |
| 64 local craftingTable = false | 65 local craftingTable = false |
