Fix variable CurGB, itemCount in CollectGuildBank

Baertram [06-25-18 - 09:41]
Fix variable CurGB, itemCount in CollectGuildBank

Fix variable CurGB -> curGB and local count -> local itemCount in function IIFA:CollectGuildBank()
Filename
IIfA/IIfADataCollection.lua
diff --git a/IIfA/IIfADataCollection.lua b/IIfA/IIfADataCollection.lua
index 84d0d48..aa90913 100644
--- a/IIfA/IIfADataCollection.lua
+++ b/IIfA/IIfADataCollection.lua
@@ -80,8 +80,8 @@ function IIfA:CollectGuildBank(curGuild)
 		end
 	end

-	SelectGuildBank(CurGB)
-	local count = 0
+	SelectGuildBank(curGB)
+	local itemCount = 0

 	if(IIfA.data.guildBanks[curGuild] == nil) then
 		IIfA.data.guildBanks[curGuild] = {}
@@ -95,7 +95,7 @@ function IIfA:CollectGuildBank(curGuild)
 		IIfA.BagSlotInfo = IIfA.BagSlotInfo or {}
 		p("Collect guild bank - <<1>>", curGuild)
 		local guildData = IIfA.data.guildBanks[curGuild]
-		local itemCount, i, slotIndex
+		local i, slotIndex
 		itemCount = 0
 		slotIndex = ZO_GetNextBagSlotIndex(BAG_GUILDBANK, nil)
 		while slotIndex do