Fixed: TUI endGame loop
This commit is contained in:
@@ -101,6 +101,7 @@ public class TUI implements IView {
|
||||
else if(model.currentState.getGameStage().equals(GameStages.ENDED))
|
||||
{
|
||||
renderStanding();
|
||||
System.out.println("Press 8 to start another game or press 0 to exit");
|
||||
return;
|
||||
}
|
||||
else
|
||||
@@ -238,6 +239,8 @@ public class TUI implements IView {
|
||||
clearTerminal();
|
||||
render();
|
||||
System.out.println(message);
|
||||
if(error==ErrorType.SERVER_CRASHED)
|
||||
System.out.println("Press any key to continue");
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user