Fix to make sure settings are used
This commit is contained in:
parent
e5c931204f
commit
736707ff5d
2
core.lua
2
core.lua
|
@ -3,12 +3,12 @@ local childName = addon['childName']
|
|||
local child = addon[childName]
|
||||
local events = child['events']
|
||||
local db
|
||||
child['frm_digits'] = "%.2f"
|
||||
LibStub("zzHelper"):Embed(child)
|
||||
local function prepareDB()
|
||||
db = addon['db']['profile'][childName]
|
||||
child['db'] = db
|
||||
addon['callbacks']:Fire(format("Init%s", childName))
|
||||
child:PrefChanged()
|
||||
end
|
||||
child['specs'] = {
|
||||
['name'] = childName,
|
||||
|
|
Loading…
Reference in New Issue