mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 02:08:00 +00:00
GameAction: fix Clone working again
This commit is contained in:
@@ -208,11 +208,7 @@ public class GameAction {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!c.isToken()) {
|
if (!c.isToken()) {
|
||||||
boolean updateState = false;
|
if (c.removeChangedState()) {
|
||||||
updateState |= c.removeCloneStates();
|
|
||||||
updateState |= c.removeTextChangeStates();
|
|
||||||
|
|
||||||
if (updateState) {
|
|
||||||
c.updateStateForView();
|
c.updateStateForView();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -284,7 +280,7 @@ public class GameAction {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// was replaced with another Zone Change
|
// was replaced with another Zone Change
|
||||||
if (toBattlefield && c.isInZone(ZoneType.Battlefield)) {
|
if (toBattlefield && !c.isInZone(ZoneType.Battlefield)) {
|
||||||
if (c.removeChangedState()) {
|
if (c.removeChangedState()) {
|
||||||
c.updateStateForView();
|
c.updateStateForView();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user