Skip to content

Commit

Permalink
10.0 hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
AcidWeb committed Oct 28, 2022
1 parent 635f49e commit f3a2793
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions REPorter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ RE.BlinkPOIValue = 0.3
RE.BlinkPOIUp = true

RE.FoundNewVersion = false
RE.AddonVersionCheck = 290
RE.AddonVersionCheck = 291
RE.ScreenHeight, RE.ScreenWidth = _G.UIParent:GetCenter()

RE.MapSettings = {
Expand Down Expand Up @@ -1047,8 +1047,7 @@ function RE:OnUpdate(elapsed)
if RE.CareAboutFlags then
RE.FlagsPool:ReleaseAll()
for i = 1, GetNumBattlefieldFlagPositions() do
-- TODO 10.0
local flagX, flagY, flagTexture = GetBattlefieldFlagPosition(i)
local flagX, flagY, flagTexture = GetBattlefieldFlagPosition(i, RE.CurrentMap)
if flagX then
local flagFrame = RE.FlagsPool:Acquire()
flagX, flagY = RE:GetRealCoords(flagX, flagY)
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: 100000
## Title: |cFF74D06CRE|rPorter
## Notes: Provide battleground map.
## Version: 2.9.0
## Version: 2.9.1
## Author: AcidWeb
## SavedVariables: REPorterSettings
## X-WoWI-ID: 21089
Expand Down

0 comments on commit f3a2793

Please sign in to comment.