Commit d830a7ca authored by NihilisticPandemonium's avatar NihilisticPandemonium

Update this to the new method since Simpy ripped the old one out.

parent 1380f4f0
......@@ -165,7 +165,7 @@ function CBO:InsertOptions()
},
},
}
return group
end
......@@ -176,7 +176,7 @@ function CBO:InsertOptions()
disabled = function() return not E.private.unitframe.enable end,
args = {},
}
local options = E.Options.args.plugins.args.CBO.args
options.player = CreateOptionsGroup(1, L["Player"], "player", CBO.UpdateSettings)
options.target = CreateOptionsGroup(2, L["Target"], "target", CBO.UpdateSettings)
......@@ -186,4 +186,8 @@ function CBO:InsertOptions()
options.boss = CreateOptionsGroup(6, L["Boss"], "boss", CBO.UpdateSettings)
end
E:RegisterModule(CBO:GetName())
\ No newline at end of file
local function InitializeCallback()
CBO:Initialize()
end
E:RegisterModule(CBO:GetName(), InitializeCallback)
\ No newline at end of file
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