fixes in Game.java and UserInterface.java

This commit is contained in:
romanschenk37
2022-03-18 10:37:53 +01:00
parent a723ea16ec
commit e5f45b7bb1
3 changed files with 5 additions and 3 deletions
@@ -187,6 +187,7 @@ public class Game implements GameSpecification {
if(winner != NO_WINNER) {
return winner;
}
switchToNextActiveCar();
} while (!allCarsCrashed());
return NO_WINNER;
}