Skip to content

Commit

Permalink
fix entombed card not marked as created (HearthSim#1815)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Zeier committed Dec 8, 2015
1 parent e03aa11 commit 20d89f3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ public void TagChange(IHsGameState gameState, string rawTag, int id, string rawV
gameState.GameHandler.HandleOpponentStolen(game.Entities[id], cardId, gameState.GetTurnNumber());
gameState.ProposeKeyPoint(KeyPointType.SecretStolen, id, ActivePlayer.Player);
}
else if (game.Entities[id].IsInZone(TAG_ZONE.PLAY))
else if (game.Entities[id].IsInZone(TAG_ZONE.PLAY) || game.Entities[id].IsInZone(TAG_ZONE.DECK))
gameState.GameHandler.HandleOpponentStolen(game.Entities[id], cardId, gameState.GetTurnNumber());
}
else if (value == game.Opponent.Id)
Expand All @@ -507,7 +507,7 @@ public void TagChange(IHsGameState gameState, string rawTag, int id, string rawV
gameState.GameHandler.HandleOpponentStolen(game.Entities[id], cardId, gameState.GetTurnNumber());
gameState.ProposeKeyPoint(KeyPointType.SecretStolen, id, ActivePlayer.Player);
}
else if (game.Entities[id].IsInZone(TAG_ZONE.PLAY))
else if (game.Entities[id].IsInZone(TAG_ZONE.PLAY) || game.Entities[id].IsInZone(TAG_ZONE.DECK))
gameState.GameHandler.HandlePlayerStolen(game.Entities[id], cardId, gameState.GetTurnNumber());
}
}
Expand Down

0 comments on commit 20d89f3

Please sign in to comment.