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

Put this back

parent 39e80551
...@@ -257,18 +257,12 @@ function PA:PLAYER_LOGIN() ...@@ -257,18 +257,12 @@ function PA:PLAYER_LOGIN()
PA.EP:RegisterPlugin('ProjectAzilroka', PA.GetOptions) PA.EP:RegisterPlugin('ProjectAzilroka', PA.GetOptions)
end end
end
function PA:PLAYER_ENTERING_WORLD()
for _, module in PA:IterateModules() do for _, module in PA:IterateModules() do
if module.Initialize then if module.Initialize then
module:Initialize() module:Initialize()
end end
end end
self:UnregisterEvent("PLAYER_ENTERING_WORLD")
end end
PA:RegisterEvent('ADDON_LOADED') PA:RegisterEvent('ADDON_LOADED')
PA:RegisterEvent('PLAYER_LOGIN') PA:RegisterEvent('PLAYER_LOGIN')
PA:RegisterEvent('PLAYER_ENTERING_WORLD') \ No newline at end of file
\ No newline at end of file
...@@ -87,6 +87,7 @@ function stAM:BuildFrame() ...@@ -87,6 +87,7 @@ function stAM:BuildFrame()
Frame:SetSize(self.db['FrameWidth'], 10 + self.db['NumAddOns'] * 25 + 40) Frame:SetSize(self.db['FrameWidth'], 10 + self.db['NumAddOns'] * 25 + 40)
Frame:SetPoint('CENTER', UIParent, 'CENTER', 0, 0) Frame:SetPoint('CENTER', UIParent, 'CENTER', 0, 0)
PA:SetTemplate(Frame) PA:SetTemplate(Frame)
Frame:Hide()
Frame:SetFrameStrata('HIGH') Frame:SetFrameStrata('HIGH')
Frame:SetClampedToScreen(true) Frame:SetClampedToScreen(true)
Frame:SetMovable(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