New card id is given to card, only if it's being put into zone in play.
This commit is contained in:
@@ -395,7 +395,8 @@ public class GameState {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void addCardToZone(LotroGame game, PhysicalCard card, Zone zone, boolean end) {
|
private void addCardToZone(LotroGame game, PhysicalCard card, Zone zone, boolean end) {
|
||||||
assignNewCardId(card);
|
if (zone.isInPlay())
|
||||||
|
assignNewCardId(card);
|
||||||
|
|
||||||
List<PhysicalCardImpl> zoneCards = getZoneCards(card.getOwner(), card.getBlueprint().getCardType(), zone);
|
List<PhysicalCardImpl> zoneCards = getZoneCards(card.getOwner(), card.getBlueprint().getCardType(), zone);
|
||||||
if (end)
|
if (end)
|
||||||
|
|||||||
Reference in New Issue
Block a user