mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
GameAction: hotfix for CastSA
This commit is contained in:
committed by
Michael Kamensky
parent
4e6addcf84
commit
c7f0def063
@@ -552,8 +552,7 @@ public class GameAction {
|
|||||||
cause.setLastStateBattlefield(game.getLastStateBattlefield());
|
cause.setLastStateBattlefield(game.getLastStateBattlefield());
|
||||||
cause.setLastStateGraveyard(game.getLastStateGraveyard());
|
cause.setLastStateGraveyard(game.getLastStateGraveyard());
|
||||||
|
|
||||||
// need to copy the cast SA so the last state isn't cleared
|
c.setCastSA(cause);
|
||||||
c.setCastSA(cause.copy(c, cause.getActivatingPlayer(), true));
|
|
||||||
} else {
|
} else {
|
||||||
c.setCastSA(null);
|
c.setCastSA(null);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user