Quantcast

Adding the ref helps

Adrian L Lange [06-21-13 - 15:56]
Adding the ref helps
Filename
oUF_P3lim.lua
diff --git a/oUF_P3lim.lua b/oUF_P3lim.lua
index 08e23e8..ebdf9a5 100644
--- a/oUF_P3lim.lua
+++ b/oUF_P3lim.lua
@@ -645,6 +645,8 @@ PreperationHandler:SetScript('OnEvent', function(self, event)
 		end
 	else
 		for index = 1, GetNumArenaOpponentSpecs() do
+			local Frame = preperationFrames[index]
+
 			local specID = GetArenaOpponentSpec(index)
 			if(specID and specID > 0) then
 				local _, name, _, _, _, _, class = GetSpecializationInfoByID(specID)