Code Cleanup
This commit is contained in:
@@ -94,7 +94,7 @@ public class Game implements GameSpecification {
|
||||
}
|
||||
if(selectedFile != null){
|
||||
try {
|
||||
moveStrategy = new PathFollowerMoveStrategy(selectedFile, track.getCarPos(currentCarIndex));
|
||||
moveStrategy = new PathFollowerMoveStrategy(selectedFile, track.getCarPos(i));
|
||||
} catch (FileNotFoundException e) {
|
||||
userInterface.printInformation("There is no Point-List implemented. Choose another Strategy!");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user