X-Git-Url: https://www.aleksib.fi/git/wowui.git/blobdiff_plain/d180f82975c6b13a3380bd8df5ab47df70112c49..d89467e02ca50fb6e77a6b39cf940c6de28a7bcc:/OmaRF/Indicators.lua diff --git a/OmaRF/Indicators.lua b/OmaRF/Indicators.lua index fbf9817..b3c7d07 100644 --- a/OmaRF/Indicators.lua +++ b/OmaRF/Indicators.lua @@ -7,9 +7,9 @@ local UnitIsDeadOrGhost, UnitIsConnected = UnitIsDeadOrGhost, UnitIsConnected; local CTimerAfter = C_Timer.After; local Settings = OmaRFSettings; -local positions = Settings.Positions; -local watchedAuras = Settings.Character["WatchedAuras"]; local majorAuras = Settings.MajorAuras; +local positions = {}; +local watchedAuras = {}; local updaters = {}; local updating = {}; @@ -122,3 +122,8 @@ function M.CheckIndicators(frame, unit) frame.major:Hide(); end end + +function M.LoadChar() + watchedAuras = Settings.Character["WatchedAuras"]; + positions = Settings.Character.Positions; +end