Skip to content

Commit

Permalink
Fixed a lua error on battlegrounds
Browse files Browse the repository at this point in the history
  • Loading branch information
Tercioo committed May 17, 2021
1 parent 5417132 commit 05ac1bc
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 @@ -4490,7 +4490,7 @@ local SPELL_POWER_PAIN = SPELL_POWER_PAIN or (PowerEnum and PowerEnum.Pain) or 1
_detalhes:LeftArena()
end
if (_detalhes.is_in_battleground and zoneType ~= "pvp") then
_detalhes.pvp_parser_frame:StopBgUpdater()
--_detalhes.pvp_parser_frame:StopBgUpdater()
_detalhes.is_in_battleground = nil
_detalhes.time_type = _detalhes.time_type_original
end
Expand Down Expand Up @@ -4519,7 +4519,7 @@ local SPELL_POWER_PAIN = SPELL_POWER_PAIN or (PowerEnum and PowerEnum.Pain) or 1
_detalhes.time_type_original = 1
_detalhes.time_type = 2
end
_detalhes.pvp_parser_frame:StartBgUpdater()
--_detalhes.pvp_parser_frame:StartBgUpdater() --battleground parser has been disbled
else
if (_detalhes.force_activity_time_pvp) then
_detalhes.time_type_original = _detalhes.time_type
Expand Down

0 comments on commit 05ac1bc

Please sign in to comment.