mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
fixed first turn draw skip
This commit is contained in:
parent
0013f19fd5
commit
bc3acccf2c
4 changed files with 6 additions and 6 deletions
|
@ -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));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue