fixed Error in Main Method
This commit is contained in:
parent
d233e5f67f
commit
1e49424b9c
|
@ -30,11 +30,11 @@ public class Siedler {
|
||||||
switch (parser.getAction()) {
|
switch (parser.getAction()) {
|
||||||
case NEXTPLAYER:
|
case NEXTPLAYER:
|
||||||
Config.Faction winner = game.getWinner();
|
Config.Faction winner = game.getWinner();
|
||||||
if(winner == null && false) { //todo remove false
|
if(winner == null) {
|
||||||
game.switchToNextPlayer();
|
game.switchToNextPlayer();
|
||||||
diceThrown = false;
|
diceThrown = false;
|
||||||
} else {
|
} else {
|
||||||
parser.displayWinnertext(game.getCurrentPlayerFaction());//todo replace with winner
|
parser.displayWinnertext(winner);
|
||||||
running = false;
|
running = false;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue