changeset 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 70dc84df13b3
files CHANGELOG.txt Modules/Crafting.lua
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/CHANGELOG.txt	Sun Jul 25 16:34:13 2010 -0700
+++ b/CHANGELOG.txt	Tue Jul 27 11:56:00 2010 -0700
@@ -1,3 +1,7 @@
+2010-07-27  Asa Ayers  <Asa.Ayers@Gmail.com>
+
+- Fixed an infinite loop when when adding items to the Skillet queue from the crafting interface.
+
 2010-07-25  Asa Ayers  <Asa.Ayers@Gmail.com>
 
 - Added the version number to the title in ItemAuditor options.
--- a/Modules/Crafting.lua	Sun Jul 25 16:34:13 2010 -0700
+++ b/Modules/Crafting.lua	Tue Jul 27 11:56:00 2010 -0700
@@ -55,8 +55,9 @@
 		local _, skillId = strsplit(":", skillString)
 		
 		ItemAuditor:AddToQueue(skillId,tradeSkillIndex, data.queue)
+		index = index + 1
+		data = ItemAuditor:GetCraftingRow(index)
 		
-		local data = ItemAuditor:GetCraftingRow(index)
 	end
 end