mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 04:08:01 +00:00
Partial Rollback
This commit is contained in:
@@ -127,10 +127,6 @@ public class PhaseHandler implements java.io.Serializable {
|
||||
game.updatePlayerTurnForView();
|
||||
setPriority(playerTurn);
|
||||
}
|
||||
|
||||
public final void endPlayerLostTurn() {
|
||||
setPlayerTurn(handleNextTurn());
|
||||
}
|
||||
|
||||
public final Player getPriorityPlayer() {
|
||||
return pPlayerPriority;
|
||||
|
||||
@@ -2943,13 +2943,7 @@ public class PlayerControllerHuman extends PlayerController implements IGameCont
|
||||
}
|
||||
|
||||
public void autoPassUntilEndOfTurn() {
|
||||
// if we already conceded just skip everything
|
||||
if (player.getOutcome() != null) {
|
||||
player.getGame().getPhaseHandler().endPlayerLostTurn();
|
||||
}
|
||||
else {
|
||||
getGui().autoPassUntilEndOfTurn(getLocalPlayerView());
|
||||
}
|
||||
getGui().autoPassUntilEndOfTurn(getLocalPlayerView());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user