Skip to content

Commit

Permalink
fix(GameEventHandler): lingering hero picking overlay
Browse files Browse the repository at this point in the history
  • Loading branch information
beheh committed Dec 13, 2023
1 parent 6988df1 commit 7ab593d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Hearthstone Deck Tracker/GameEventHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -444,6 +444,8 @@ private void HandleTurnStart(Tuple<ActivePlayer, int> turn)
{
if(_game.IsBattlegroundsMatch)
{
Core.Overlay.BattlegroundsHeroPickingViewModel.Reset();
Core.Overlay.HideBattlegroundsHeroPanel();
OpponentDeadForTracker.ShoppingStarted(_game);
if(_game.CurrentGameStats != null && turn.Item2 > 1)
BobsBuddyInvoker.GetInstance(_game.CurrentGameStats.GameId, turn.Item2 - 1)?.StartShoppingAsync();
Expand Down

0 comments on commit 7ab593d

Please sign in to comment.