mirror of
https://github.com/correl/mage.git
synced 2025-04-11 01:01:05 -09:00
* Skip phase of preferences will only be applied if the stack is empty.
This commit is contained in:
parent
7ad45a2a6e
commit
0a23fe1e8a
1 changed files with 5 additions and 5 deletions
|
@ -444,12 +444,12 @@ public class HumanPlayer extends PlayerImpl {
|
|||
public boolean priority(Game game) {
|
||||
passed = false;
|
||||
if (!abort) {
|
||||
boolean dontCheckPassStep = false;
|
||||
if (passedAllTurns) {
|
||||
pass(game);
|
||||
return false;
|
||||
}
|
||||
if (game.getStack().isEmpty()) {
|
||||
boolean dontCheckPassStep = false;
|
||||
if (passedTurn) {
|
||||
pass(game);
|
||||
return false;
|
||||
|
@ -488,10 +488,10 @@ public class HumanPlayer extends PlayerImpl {
|
|||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!dontCheckPassStep && checkPassStep(game)) {
|
||||
pass(game);
|
||||
return false;
|
||||
if (!dontCheckPassStep && checkPassStep(game)) {
|
||||
pass(game);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
updateGameStatePriority("priority", game);
|
||||
game.firePriorityEvent(playerId);
|
||||
|
|
Loading…
Add table
Reference in a new issue