mirror of
https://github.com/magefree/mage.git
synced 2026-01-26 21:29:17 -08:00
critical core fix for failing test
This commit is contained in:
parent
e003b43214
commit
407f10fa86
1 changed files with 3 additions and 1 deletions
|
|
@ -633,7 +633,9 @@ public abstract class GameImpl<T extends GameImpl<T>> implements Game, Serializa
|
|||
state.setPriorityPlayerId(player.getId());
|
||||
while (!player.isPassed() && !player.hasLost() && !player.hasLeft() && !isPaused() && !isGameOver()) {
|
||||
if (!resuming) {
|
||||
checkStateAndTriggered();
|
||||
if (checkStateAndTriggered()) {
|
||||
applyEffects();
|
||||
}
|
||||
if (isPaused() || isGameOver()) return;
|
||||
// resetPassed should be called if player performs any action
|
||||
if (player.priority(this))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue