Skip to content

Commit

Permalink
Merge pull request #732 from Flamanis/CataBattlegrounds
Browse files Browse the repository at this point in the history
Fix for One Segment BG on Cata
  • Loading branch information
Tercioo authored May 24, 2024
2 parents ce74a53 + abd8ff6 commit 0bd1fd4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/parser.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7251,13 +7251,13 @@ local SPELL_POWER_PAIN = SPELL_POWER_PAIN or (PowerEnum and PowerEnum.Pain) or 1

for i = 1, players do
local name, killingBlows, honorableKills, deaths, honorGained, faction, race, rank, class, classToken, damageDone, healingDone, bgRating, ratingChange, preMatchMMR, mmrChange, talentSpec
if (isWOTLK or isERA) then
if (isCATA or isWOTLK or isERA) then
name, killingBlows, honorableKills, deaths, honorGained, faction, rank, race, class, classToken, damageDone, healingDone, bgRating, ratingChange, preMatchMMR, mmrChange, talentSpec = GetBattlefieldScore(i)
else
name, killingBlows, honorableKills, deaths, honorGained, faction, race, class, classToken, damageDone, healingDone, bgRating, ratingChange, preMatchMMR, mmrChange, talentSpec = GetBattlefieldScore(i)
end

if (not isWOTLK and not isERA) then --Must be dragonflight
if (not isWOTLK and not isERA and not isCATA) then --Must be dragonflight
if (not name:match("%-")) then
name = name .. "-" .. realmName
end
Expand Down

0 comments on commit 0bd1fd4

Please sign in to comment.