mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-09 15:54:47 -07:00
Added a UI option to always play nonlands onto the stack
Previously this behavior only occured for instants and sorceries Woops, missed a file Missed some parentheses
This commit is contained in:
parent
1accaffb70
commit
2727781c0e
5 changed files with 18 additions and 1 deletions
|
|
@ -1513,7 +1513,7 @@ void Player::playCard(CardItem *c, bool faceDown, bool tapped)
|
|||
cardToMove->set_card_id(c->getId());
|
||||
|
||||
CardInfo *ci = c->getInfo();
|
||||
if (ci->getTableRow() == 3) {
|
||||
if ((!settingsCache->getPlayToStack() && ci->getTableRow() == 3) || (settingsCache->getPlayToStack() && ci->getTableRow() != 0)) {
|
||||
cmd.set_target_zone("stack");
|
||||
cmd.set_x(0);
|
||||
cmd.set_y(0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue