- Fixed tokens leaving the battlefield not unpairing.

This commit is contained in:
Sloth
2013-07-30 11:15:51 +00:00
parent 3cb2b09dd6
commit afa42a53cd

View File

@@ -269,13 +269,16 @@ public class GameAction {
copied.getCharacteristics().resetCardColor();
}
if (fromBattlefield && !c.isToken()) {
copied.setSuspendCast(false);
copied.setState(CardCharacteristicName.Original);
if (fromBattlefield) {
if (!c.isToken()) {
copied.setSuspendCast(false);
copied.setState(CardCharacteristicName.Original);
}
// Soulbond unpairing
if (c.isPaired()) {
c.getPairedWith().setPairedWith(null);
c.setPairedWith(null);
if (!c.isToken())
c.setPairedWith(null);
}
unattachCardLeavingBattlefield(copied);
} else if (zoneFrom.is(ZoneType.Exile) && !toBattlefield) {