mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-05 21:13:55 -07:00
move comment
This commit is contained in:
parent
5a8fc40033
commit
2f30468ce9
1 changed files with 2 additions and 2 deletions
|
|
@ -1070,9 +1070,9 @@ bool PlayerActions::createRelatedFromRelation(const CardItem *sourceCard, const
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
CardRelationType attachType;
|
CardRelationType attachType;
|
||||||
|
// do not attempt to attach to another player's cards, this causes the card to attempt to attach to the same
|
||||||
|
// cardid on the local player's field instead, which is an entirely different card!
|
||||||
if (player->getPlayerInfo()->getLocalOrJudge()) {
|
if (player->getPlayerInfo()->getLocalOrJudge()) {
|
||||||
// do not attempt to attach to another player's cards, this causes the card to attempt to attach to the same
|
|
||||||
// cardid on the local player's field instead, which is an entirely different card!
|
|
||||||
attachType = cardRelation->getAttachType();
|
attachType = cardRelation->getAttachType();
|
||||||
} else {
|
} else {
|
||||||
attachType = CardRelationType::DoesNotAttach;
|
attachType = CardRelationType::DoesNotAttach;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue