Fix leaking variable

This commit is contained in:
Parnic
2021-09-05 09:33:46 -05:00
parent e8c8172298
commit da5498d1a2

View File

@ -287,10 +287,9 @@ function Totems.prototype:CreateTotemFrame()
self.frame.graphical = {}
end
local totemType
for i=1, self.numTotems do
slot = TOTEM_PRIORITIES[i]
self:CreateTotem(slot, self.totemNames[slot])
local slot = TOTEM_PRIORITIES[i]
self:CreateTotem(slot, self.totemNames[slot])
end
end