Skip to content

Commit

Permalink
Fixed possible issue with match saving
Browse files Browse the repository at this point in the history
  • Loading branch information
AcidWeb committed Oct 28, 2019
1 parent e4d6230 commit 068abba
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
Libs
desktop.ini
4 changes: 3 additions & 1 deletion REFlex.lua
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ local IsRatedArena = _G.C_PvP.IsRatedArena
local IsRatedBattleground = _G.C_PvP.IsRatedBattleground
local IsArenaSkirmish = _G.IsArenaSkirmish
local IsPlayerAtEffectiveMaxLevel = _G.IsPlayerAtEffectiveMaxLevel
local SetBattlefieldScoreFaction = _G.SetBattlefieldScoreFaction
local GetAvailableBrawlInfo = _G.C_PvP.GetAvailableBrawlInfo
local GetBrawlRewards = _G.C_PvP.GetBrawlRewards
local GetNumSpecializations = _G.GetNumSpecializations
Expand Down Expand Up @@ -103,7 +104,7 @@ local RegisterAddonMessagePrefix = _G.C_ChatInfo.RegisterAddonMessagePrefix
local SendAddonMessage = _G.C_ChatInfo.SendAddonMessage
local ElvUI = _G.ElvUI

RE.Version = 272
RE.Version = 273
RE.LastSquash = 1531828800
RE.FoundNewVersion = false

Expand Down Expand Up @@ -901,6 +902,7 @@ end

function RE:PVPEnd()
RE.MatchData = {}
SetBattlefieldScoreFaction(-1)

local StatsNum = GetMatchPVPStatColumns()
RE.MatchData.Map = select(8, GetInstanceInfo())
Expand Down
2 changes: 1 addition & 1 deletion REFlex.toc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## Interface: 80205
## Title: |cFF74D06CRE|rFlex
## Notes: Collect statistics of played arena matches and battlegrounds.
## Version: 2.7.2
## Version: 2.7.3
## Author: AcidWeb
## SavedVariablesPerCharacter: REFlexSettings, REFlexDatabase, REFlexHonorDatabase
## X-Website: https://www.curseforge.com/wow/addons/reflex-battleground-historian
Expand Down

0 comments on commit 068abba

Please sign in to comment.