diff --git a/REFlex.lua b/REFlex.lua index 80e15c0..bc9a719 100644 --- a/REFlex.lua +++ b/REFlex.lua @@ -105,7 +105,7 @@ local RegisterAddonMessagePrefix = _G.C_ChatInfo.RegisterAddonMessagePrefix local SendAddonMessage = _G.C_ChatInfo.SendAddonMessage local ElvUI = _G.ElvUI -RE.Version = 265 +RE.Version = 266 RE.LastSquash = 1531828800 RE.FoundNewVersion = false diff --git a/REFlex.toc b/REFlex.toc index f498ff3..afc9916 100644 --- a/REFlex.toc +++ b/REFlex.toc @@ -1,7 +1,7 @@ ## Interface: 80100 ## Title: |cFF74D06CRE|rFlex ## Notes: Collect statistics of played arena matches and battlegrounds. -## Version: 2.6.5 +## Version: 2.6.6 ## Author: AcidWeb ## SavedVariablesPerCharacter: REFlexSettings, REFlexDatabase, REFlexHonorDatabase ## X-Website: https://www.curseforge.com/wow/addons/reflex-battleground-historian diff --git a/REFlexStructures.lua b/REFlexStructures.lua index e551ac8..14ff09a 100644 --- a/REFlexStructures.lua +++ b/REFlexStructures.lua @@ -143,6 +143,7 @@ RE.BracketNames = { RE.MapIDRemap = { [968] = 566, + [998] = 1035, [1681] = 2107 } diff --git a/REFlexUpdater.lua b/REFlexUpdater.lua index e685403..edeac16 100644 --- a/REFlexUpdater.lua +++ b/REFlexUpdater.lua @@ -36,7 +36,7 @@ end function RE:UpdateDatabase() for i=1, #RE.Database do - if RE.Database[i].Version < 265 then + if RE.Database[i].Version < 266 then if RE.Database[i].Version < 224 then if RE.Database[i].Map == 1681 then RE.Database[i].Map = 2107 @@ -78,14 +78,18 @@ function RE:UpdateDatabase() RE.Database[i].Version = 260 end - if RE.Database[i].Map == 489 then - RE.Database[i].Map = 2106 - elseif RE.Database[i].Map == 529 then - RE.Database[i].Map = 2107 - elseif RE.Database[i].Map == 998 then + if RE.Database[i].Version < 265 then + if RE.Database[i].Map == 489 then + RE.Database[i].Map = 2106 + elseif RE.Database[i].Map == 529 then + RE.Database[i].Map = 2107 + end + end + + if RE.Database[i].Map == 998 then RE.Database[i].Map = 1035 end - RE.Database[i].Version = 265 + RE.Database[i].Version = 266 end end end