Commit 28b7d813 authored by Azilroka's avatar Azilroka
Browse files

Put this back

parent 39e80551
......@@ -257,18 +257,12 @@ function PA:PLAYER_LOGIN()
PA.EP:RegisterPlugin('ProjectAzilroka', PA.GetOptions)
end
end
function PA:PLAYER_ENTERING_WORLD()
for _, module in PA:IterateModules() do
if module.Initialize then
module:Initialize()
end
end
self:UnregisterEvent("PLAYER_ENTERING_WORLD")
end
PA:RegisterEvent('ADDON_LOADED')
PA:RegisterEvent('PLAYER_LOGIN')
\ No newline at end of file
PA:RegisterEvent('PLAYER_ENTERING_WORLD')
\ No newline at end of file
......@@ -87,6 +87,7 @@ function stAM:BuildFrame()
Frame:SetSize(self.db['FrameWidth'], 10 + self.db['NumAddOns'] * 25 + 40)
Frame:SetPoint('CENTER', UIParent, 'CENTER', 0, 0)
PA:SetTemplate(Frame)
Frame:Hide()
Frame:SetFrameStrata('HIGH')
Frame:SetClampedToScreen(true)
Frame:SetMovable(true)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment