ac5ca8a - Add leader icon, aura frame stub
[wowui.git] / OmaRF / Indicators.lua
index fbf9817..b3c7d07 100644 (file)
@@ -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