Skip to content

Commit

Permalink
Showing 2 changed files with 9 additions and 4 deletions.
11 changes: 8 additions & 3 deletions REPorter.lua
Original file line number Diff line number Diff line change
@@ -110,6 +110,7 @@ local SM = 423
local DG = 519
local TMVS = 623
local ABW = 837
local ABJ = 1383
local SS = 907
local BFW = 1334

@@ -155,7 +156,7 @@ RE.BlinkPOIValue = 0.3
RE.BlinkPOIUp = true

RE.FoundNewVersion = false
RE.AddonVersionCheck = 231
RE.AddonVersionCheck = 232
RE.ScreenHeight, RE.ScreenWidth = _G.UIParent:GetCenter()

RE.MapSettings = {
@@ -796,7 +797,7 @@ function RE:OnEvent(self, event, ...)
end
if instance == "pvp" and RE.CurrentMap == -1 then
local mapID = GetBestMapForUnit("player")
if mapID == ABW then
if mapID == ABW or mapID == ABJ then
mapID = AB
elseif mapID == EOTSR then
mapID = EOTS
@@ -1808,7 +1809,11 @@ function RE:LoadMapSettings()

local textures
if RE.CurrentMap == AB and RE.IsBrawl then
textures = GetMapArtLayerTextures(ABW, 1)
if GetBestMapForUnit("player") == ABJ then
textures = GetMapArtLayerTextures(AB, 1)
else
textures = GetMapArtLayerTextures(ABW, 1)
end
RE.ZonesWithoutSubZones[AB] = true
else
textures = GetMapArtLayerTextures(RE.CurrentMap, 1)
2 changes: 1 addition & 1 deletion REPorter.toc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## Interface: 80100
## Title: |cFF74D06CRE|rPorter
## Notes: Provide battleground map.
## Version: 2.3.1
## Version: 2.3.2
## Author: AcidWeb
## SavedVariables: REPorterSettings
## X-Website: https://www.curseforge.com/wow/addons/reporter-battleground-map

0 comments on commit 399e0a7

Please sign in to comment.