diff Modules/Queue.lua @ 194:ba5ddc4448dd

Cleaning up.
author Zerotorescue
date Sat, 05 Feb 2011 01:14:52 +0100
parents da28be6ccd31
children 15f22a466596
line wrap: on
line diff
--- a/Modules/Queue.lua	Wed Feb 02 19:11:22 2011 +0100
+++ b/Modules/Queue.lua	Sat Feb 05 01:14:52 2011 +0100
@@ -457,7 +457,7 @@
 	-- Retrieve group settings
 	local restockTarget = addon:GetOptionByKey(groupName, "restockTarget");
 	local bonusQueue = addon:GetOptionByKey(groupName, "bonusQueue");
-	local minCraftingQueue = floor( addon:GetOptionByKey(groupName, "minCraftingQueue") * addon:GetOptionByKey(groupName, "restockTarget") ); -- If the minCraftingQueue is 5% and restockTarget is 60, this will result in 3
+	local minCraftingQueue = floor( addon:GetOptionByKey(groupName, "minCraftingQueue") * restockTarget ); -- If the minCraftingQueue is 5% and restockTarget is 60, this will result in 3
 	local priceThreshold = addon:GetOptionByKey(groupName, "priceThreshold");
 	
 	for itemId, count in pairs(addon.db.profile.groups[groupName].items) do