Skip to content

Commit

Permalink
only call ExecuteCreationTagActions if not in menu
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Zeier committed Mar 7, 2016
1 parent b72f109 commit 1eecebb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Hearthstone Deck Tracker/LogReader/Handlers/PowerHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,8 @@ public void Handle(string logLine, IHsGameState gameState, IGame game)
if(!setup)
gameState.SetupDone = true;

if(game.IsInMenu)
return;
if(!creationTag && gameState.DeterminedPlayers)
_tagChangeHandler.ExecuteCreationTagActions();
else if(!gameState.DeterminedPlayers && gameState.SetupDone)
Expand Down

0 comments on commit 1eecebb

Please sign in to comment.