Fix to make sure settings are used

This commit is contained in:
robin 2021-04-25 17:55:56 +02:00
parent e5c931204f
commit 736707ff5d
1 changed files with 1 additions and 1 deletions

View File

@ -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,