Skip to content

Commit

Permalink
Launching headless should auto-disable CrashReporter.
Browse files Browse the repository at this point in the history
Despite the !GraphicsEnvironment.isHeadess() in the catch block the CR would still pop up - maybe from the system not being headless *incapable* even if the game ran headless
  • Loading branch information
Cervator committed Oct 18, 2014
1 parent 988abbe commit c9fada2
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ public static void main(String[] args) {
homePath = Paths.get("");
} else if (arg.equals(HEADLESS_ARG)) {
isHeadless = true;
crashReportEnabled = false;
} else if (arg.equals(NO_CRASH_REPORT_ARG)) {
crashReportEnabled = false;
} else if (arg.equals(LOAD_LAST_GAME_ARG)) {
Expand Down

0 comments on commit c9fada2

Please sign in to comment.