mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-18 08:22:15 -07:00
hardcode createCard target zone to table
To get attached token from graveyard/exile to work
This commit is contained in:
parent
2c53cc047b
commit
a969f54159
1 changed files with 1 additions and 1 deletions
|
|
@ -1981,7 +1981,7 @@ void Player::createCard(const CardItem *sourceCard,
|
|||
cmd.set_annotation("");
|
||||
}
|
||||
cmd.set_destroy_on_zone_change(!persistent);
|
||||
cmd.set_target_zone(sourceCard->getZone()->getName().toStdString());
|
||||
cmd.set_target_zone("table"); // we currently only support creating tokens on the table
|
||||
cmd.set_x(gridPoint.x());
|
||||
cmd.set_y(gridPoint.y());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue