Commit 76a13be3 authored by Max-Wilhelm Bruker's avatar Max-Wilhelm Bruker
Browse files

always set DestroyOnZoneChange to true for cloned cards

parent 23188736
...@@ -1282,7 +1282,7 @@ void Player::cardMenuAction(QAction *a) ...@@ -1282,7 +1282,7 @@ void Player::cardMenuAction(QAction *a)
break; break;
} }
case 4: case 4:
commandList.append(new Command_CreateToken(-1, card->getZone()->getName(), card->getName(), card->getColor(), card->getPT(), card->getAnnotation(), card->getDestroyOnZoneChange(), -1, card->getGridPoint().y())); commandList.append(new Command_CreateToken(-1, card->getZone()->getName(), card->getName(), card->getColor(), card->getPT(), card->getAnnotation(), true, -1, card->getGridPoint().y()));
break; break;
case 5: case 5:
commandList.append(new Command_MoveCard(-1, card->getZone()->getName(), card->getId(), getId(), "deck", 0, 0, false)); commandList.append(new Command_MoveCard(-1, card->getZone()->getName(), card->getId(), getId(), "deck", 0, 0, false));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment