mirror of
https://github.com/magefree/mage.git
synced 2026-01-09 20:32:06 -08:00
Sacred Ground implemented. Re-ordered logic in GameImpl to handle simultaneous events before removing top of the stack.
This commit is contained in:
parent
50dadfb03c
commit
893e83ef7c
5 changed files with 264 additions and 1 deletions
|
|
@ -1113,13 +1113,13 @@ public abstract class GameImpl implements Game, Serializable {
|
|||
top.resolve(this);
|
||||
} finally {
|
||||
if (top != null) {
|
||||
state.getStack().remove(top);
|
||||
if (!getTurn().isEndTurnRequested()) {
|
||||
while (state.hasSimultaneousEvents()) {
|
||||
state.handleSimultaneousEvent(this);
|
||||
checkTriggered();
|
||||
}
|
||||
}
|
||||
state.getStack().remove(top);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue