mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
Fix stack not updating properly after SA resolves.
This commit is contained in:
@@ -531,7 +531,6 @@ public class MagicStack /* extends MyObservable */ implements Iterable<SpellAbil
|
||||
setResolving(false);
|
||||
unfreezeStack();
|
||||
sa.resetOnceResolved();
|
||||
game.updateStackForView();
|
||||
|
||||
//game.getAction().checkStaticAbilities();
|
||||
game.getPhaseHandler().onStackResolved();
|
||||
@@ -673,6 +672,7 @@ public class MagicStack /* extends MyObservable */ implements Iterable<SpellAbil
|
||||
public final void remove(final SpellAbilityStackInstance si) {
|
||||
stack.remove(si);
|
||||
frozenStack.remove(si);
|
||||
game.updateStackForView();
|
||||
game.fireEvent(new GameEventSpellRemovedFromStack(si.getSpellAbility(true)));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user