fixed first turn draw skip

This commit is contained in:
BetaSteward 2011-02-26 00:15:15 -05:00
parent 0013f19fd5
commit bc3acccf2c
4 changed files with 6 additions and 6 deletions

View file

@ -63,8 +63,8 @@ public class TwoPlayerDuel extends GameImpl<TwoPlayerDuel> {
}
@Override
protected void init(UUID choosingPlayerId) {
super.init(choosingPlayerId);
protected void init(UUID choosingPlayerId, boolean testMode) {
super.init(choosingPlayerId, testMode);
state.getTurnMods().add(new TurnMod(startingPlayerId, PhaseStep.DRAW));
}

View file

@ -317,10 +317,10 @@ public abstract class GameImpl<T extends GameImpl<T>> implements Game, Serializa
saveState();
}
protected void init(UUID choosingPlayerId) {
init(choosingPlayerId, false);
}
// protected void init(UUID choosingPlayerId) {
// init(choosingPlayerId, false);
// }
//
protected void init(UUID choosingPlayerId, boolean testMode) {
for (Player player: state.getPlayers().values()) {
player.beginTurn(this);