Quantcast

Fixed a few typos, and a bug

James Whitehead II [08-14-08 - 15:13]
Fixed a few typos, and a bug
Filename
DressToKill.lua
diff --git a/DressToKill.lua b/DressToKill.lua
index 055c7bb..d73c53f 100644
--- a/DressToKill.lua
+++ b/DressToKill.lua
@@ -93,7 +93,7 @@ end

 local function scanFunction(weightFunction)
 	debug(L["Beginning an inventory scan"])
-	UIErrorsFrame:AddMessage("Please do not change buffs or forums during scan...", 1, 0.2, 0.2)
+	UIErrorsFrame:AddMessage("Please do not change buffs or forms during scan...", 1, 0.2, 0.2)

 	local blacklist = {}
 	local slotAvail = {}
@@ -147,10 +147,11 @@ local function scanFunction(weightFunction)
 		end
 		-- Now equip the item that won this round and blacklist
 		DressToKill:EquipItem(slotId, winner, stash)
-		local link = GetInventoryItemLink(slotId)
-		print("Chose %s as the winning item for this slot", link)
+		local link = GetInventoryItemLink("player", slotId)
+		print("Choosing %s", link)
 		blacklist[winner] = true
 	end
+	UIErrorsFrame:AddMessage("Scan complete!", 0.2, 1, 0.2)
 	print("Evaluation complete!")
 end