Skip to content

Commit

Permalink
Fixed support for rated Eye of The Storm
Browse files Browse the repository at this point in the history
  • Loading branch information
AcidWeb committed Sep 28, 2018
1 parent 906d2e3 commit 7094f96
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions REPorter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ local EOTS = 112
local IOC = 169
local TP = 206
local BFG = 275
local EOTSR = 397
local TOK = 417
local SM = 423
local DG = 519
Expand Down Expand Up @@ -144,7 +145,7 @@ RE.BlinkPOIValue = 0.3
RE.BlinkPOIUp = true

RE.FoundNewVersion = false
RE.AddonVersionCheck = 216
RE.AddonVersionCheck = 217
RE.ScreenHeight, RE.ScreenWidth = _G.UIParent:GetCenter()

RE.MapSettings = {
Expand Down Expand Up @@ -721,7 +722,11 @@ function RE:OnEvent(self, event, ...)
end
if instance == "pvp" and RE.CurrentMap == -1 then
local mapID = GetBestMapForUnit("player")
if mapID == ABW then mapID = AB end
if mapID == ABW then
mapID = AB
elseif mapID == EOTSR then
mapID = EOTS
end
if mapID and RE.MapSettings[mapID] then
RE.CurrentMap = mapID
RE:Startup()
Expand Down
2 changes: 1 addition & 1 deletion REPorter.toc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## Interface: 80000
## Title: |cFF74D06CRE|rPorter
## Notes: Provide battleground map.
## Version: 2.1.6
## Version: 2.1.7
## Author: AcidWeb
## SavedVariables: REPorterSettings
## X-Website: https://www.curseforge.com/wow/addons/reporter-battleground-map
Expand Down

0 comments on commit 7094f96

Please sign in to comment.