fixed Error in Main Method

This commit is contained in:
schrom01 2021-12-03 08:35:37 +01:00
parent d233e5f67f
commit 1e49424b9c
1 changed files with 2 additions and 2 deletions

View File

@ -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;