Bug Correction, Load Button linked
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
a726019b18
commit
8c8dacadd0
@ -78,7 +78,7 @@ public class MenuAccueil extends StackPane {
|
||||
SelectLevel.setOnAction(event -> Controller.switchRoot(new MenuLevel(1)));
|
||||
LoadLvl.setOnAction(event -> {
|
||||
try {
|
||||
FileParserFactory.loadMapFromFile(new File("save.slevel"));
|
||||
Controller.switchRoot(new GameUI(FileParserFactory.loadMapFromFile(new File("save.slevel"))));
|
||||
} catch (IOException e) {
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user