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 @Override
protected void init(UUID choosingPlayerId) { protected void init(UUID choosingPlayerId, boolean testMode) {
super.init(choosingPlayerId); super.init(choosingPlayerId, testMode);
state.getTurnMods().add(new TurnMod(startingPlayerId, PhaseStep.DRAW)); 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(); saveState();
} }
protected void init(UUID choosingPlayerId) { // protected void init(UUID choosingPlayerId) {
init(choosingPlayerId, false); // init(choosingPlayerId, false);
} // }
//
protected void init(UUID choosingPlayerId, boolean testMode) { protected void init(UUID choosingPlayerId, boolean testMode) {
for (Player player: state.getPlayers().values()) { for (Player player: state.getPlayers().values()) {
player.beginTurn(this); player.beginTurn(this);