Skip to content

Commit

Permalink
Exit platform when window is closed and game not running. Fixes FAFor…
Browse files Browse the repository at this point in the history
  • Loading branch information
Sheikah45 authored and Chris Haggan committed Apr 15, 2022
1 parent 188d3b9 commit ad07719
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/com/faforever/client/FafClientApplication.java
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,8 @@ private void closeMainWindow(WindowEvent event) {
})
)));
event.consume();
} else {
Platform.exit();
}
}

Expand Down

0 comments on commit ad07719

Please sign in to comment.