mirror of
https://github.com/correl/mage.git
synced 2024-12-24 03:00:14 +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
|
||||
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));
|
||||
}
|
||||
|
||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue