Skip to content

Commit

Permalink
fix Counterspell not graying out when playing secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Zeier committed Mar 9, 2016
1 parent 9a57d10 commit d5144e5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Hearthstone Deck Tracker/GameEventHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -957,7 +957,10 @@ public void HandlePlayerSecretPlayed(Entity entity, string cardId, int turn, boo
if(fromDeck)
_game.Player.SecretPlayedFromDeck(entity, turn);
else
{
_game.Player.SecretPlayedFromHand(entity, turn);
HandleSecretsOnPlay(entity);
}
Helper.UpdatePlayerCards();
_game.AddPlayToCurrentGame(PlayType.PlayerSecretPlayed, turn, cardId);
GameEvents.OnPlayerPlay.Execute(Database.GetCardFromId(cardId));
Expand Down

0 comments on commit d5144e5

Please sign in to comment.