Fix issue with low level characters.
This commit is contained in:
parent
be3b33f3e4
commit
4cee09a6d4
1 changed files with 4 additions and 2 deletions
|
@ -155,8 +155,10 @@ function core:OnInitialize()
|
||||||
self.db.global[self.character.realm][self.character.name].lockouts = {}
|
self.db.global[self.character.realm][self.character.name].lockouts = {}
|
||||||
end
|
end
|
||||||
|
|
||||||
if self.db.global[self.character.realm][self.character.name].lfrs == nil and self.character.level == CURRENT_MAX_LEVEL then
|
if self.db.global[self.character.realm][self.character.name] ~= nil then
|
||||||
self.db.global[self.character.realm][self.character.name].lfrs = {}
|
if self.db.global[self.character.realm][self.character.name].lfrs == nil and self.character.level == CURRENT_MAX_LEVEL then
|
||||||
|
self.db.global[self.character.realm][self.character.name].lfrs = {}
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Add LFR stuff to profile if it isn't there already
|
-- Add LFR stuff to profile if it isn't there already
|
||||||
|
|
Loading…
Reference in a new issue