mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
Keep card annotations on stack (#5399)
This commit is contained in:
parent
b2a8748bc6
commit
6e1047032d
6 changed files with 12 additions and 8 deletions
|
|
@ -548,7 +548,7 @@ Response::ResponseCode Server_Player::moveCard(GameEventStorage &ges,
|
|||
newX = targetzone->getFreeGridColumn(newX, yCoord, card->getName(), faceDown);
|
||||
} else {
|
||||
yCoord = 0;
|
||||
card->resetState();
|
||||
card->resetState(targetzone->getName() == "stack");
|
||||
}
|
||||
|
||||
targetzone->insertCard(card, newX, yCoord);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue