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