Skip to content

Commit

Permalink
Fix the Application launch's exception.
Browse files Browse the repository at this point in the history
  • Loading branch information
Prometheos2 committed Dec 9, 2019
1 parent 1296412 commit fe309f2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion src/application/GameApplication.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 08/12/2019
* Copyright (c) 09/12/2019
*
* Auteurs :
* - Behm Guillaume
Expand Down Expand Up @@ -32,6 +32,10 @@ public class GameApplication extends Application {
/** Langue utilisée par l'application. */
private static Locale LANG;

static void launchApplication(String... _args) {
GameApplication.launch(_args);
}

/**
* Démarre l'application une fois initialisée et prête à être lancée par le sytème.
* <p>
Expand Down
4 changes: 2 additions & 2 deletions src/application/Main.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 08/12/2019
* Copyright (c) 09/12/2019
*
* Auteurs :
* - Behm Guillaume
Expand Down Expand Up @@ -50,7 +50,7 @@ public static void main(String[] args) {
Main_IA.main(args);
} else {
checkForLangArgs(arguments);
GameApplication.launch(args);
GameApplication.launchApplication(args);
}
}
}

0 comments on commit fe309f2

Please sign in to comment.