Partial Rollback

This commit is contained in:
tool4EvEr
2021-01-13 19:38:05 +01:00
parent e69abf0982
commit afce0b1af4
2 changed files with 1 additions and 11 deletions

View File

@@ -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;

View File

@@ -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