Skip to content

Commit

Permalink
fix: move call ShowBgsTopBar
Browse files Browse the repository at this point in the history
  • Loading branch information
KelvinCS committed Nov 6, 2023
1 parent d8fc2d3 commit ab42dc9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Hearthstone Deck Tracker/GameEventHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -815,7 +815,7 @@ public async void HandleGameEnd(bool stateComplete)
_game.CurrentGameType,
_game.Spectator
);

}

if(_game.IsMercenariesMatch)
Expand Down Expand Up @@ -1072,7 +1072,6 @@ private async void HandleConstructedStart()

private async void HandleBattlegroundsStart()
{
Core.Overlay.ShowBgsTopBar();
if(Config.Instance.ShowBattlegroundsToast)
{
for(var i = 0; i < 10; i++)
Expand Down Expand Up @@ -1102,6 +1101,7 @@ private async void HandleBattlegroundsStart()
}
else
{
Core.Overlay.ShowBgsTopBar();
Core.Overlay.ShowBattlegroundsHeroPickingStats(heroIds);
Core.Overlay.ShowBattlegroundsHeroPanel(heroIds);
Core.Overlay.BattlegroundsQuestPickingViewModel.Reset();
Expand Down

0 comments on commit ab42dc9

Please sign in to comment.