Skip to content

Commit 8de0c6d

Browse files
fix: 2mana counter not updating for the opponent
1 parent 8753c90 commit 8de0c6d

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

Hearthstone Deck Tracker/Hearthstone/CounterSystem/Counters/CardsPlayedFor2ManaCounter.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,7 @@ public override void HandleTagChange(GameTag tag, IHsGameState gameState, Entity
6060

6161
var playedCard = new Card(gameState.CurrentBlock.CardId ?? "");
6262

63-
if(playedCard.TypeEnum != CardType.SPELL &&
64-
playedCard.TypeEnum != CardType.LOCATION &&
65-
playedCard.TypeEnum != CardType.MINION &&
66-
playedCard.TypeEnum != CardType.WEAPON)
63+
if(playedCard.TypeEnum == CardType.HERO_POWER)
6764
return;
6865

6966
LastEntityToCount = entity;

0 commit comments

Comments
 (0)