cleanup
This commit is contained in:
parent
a84178edbf
commit
cef9de3819
@ -211,11 +211,11 @@ function Gladdy:UpdateFrame()
|
|||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
for k, v in self:IterModules() do
|
for _, v in self:IterModules() do
|
||||||
self:Call(v, "UpdateFrame", button.unit)
|
self:Call(v, "UpdateFrame", button.unit)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
for k, v in self:IterModules() do
|
for _, v in self:IterModules() do
|
||||||
self:Call(v, "UpdateFrameOnce")
|
self:Call(v, "UpdateFrameOnce")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -279,7 +279,7 @@ function Gladdy:CreateButton(i)
|
|||||||
|
|
||||||
self.buttons[button.unit] = button
|
self.buttons[button.unit] = button
|
||||||
|
|
||||||
for k, v in self:IterModules() do
|
for _, v in self:IterModules() do
|
||||||
self:Call(v, "CreateFrame", button.unit)
|
self:Call(v, "CreateFrame", button.unit)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user