mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
- Reverted previous commit (doesn't work as intended).
This commit is contained in:
@@ -184,15 +184,9 @@ public class GameAction {
|
||||
zoneChangedEarly = true;
|
||||
}
|
||||
|
||||
if (fromBattlefield) {
|
||||
// Clean up the temporary Dash SVar when the Dashed card leaves the battlefield
|
||||
if (c.getSVar("EndOfTurnLeavePlay").equals("Dash")) {
|
||||
c.removeSVar("EndOfTurnLeavePlay");
|
||||
}
|
||||
// Clean up the temporary X announcement variable used by the AI
|
||||
if (!zoneTo.is(ZoneType.Stack) && c.hasSVar("PayX")) {
|
||||
c.removeSVar("PayX");
|
||||
}
|
||||
// Clean up the temporary Dash SVar when the Dashed card leaves the battlefield
|
||||
if (fromBattlefield && c.getSVar("EndOfTurnLeavePlay").equals("Dash")) {
|
||||
c.removeSVar("EndOfTurnLeavePlay");
|
||||
}
|
||||
|
||||
if (fromBattlefield && !toBattlefield) {
|
||||
|
||||
Reference in New Issue
Block a user