Fixed non-zero exit code warning in supported platforms

This commit is contained in:
Collin Smith 2021-11-24 14:08:26 -08:00
parent 8272dda9ef
commit b05ca8b092

View File

@ -183,6 +183,7 @@ public class DesktopLauncher {
config.width = width;
config.height = height;
config.forceExit = SystemUtils.IS_OS_MAC_OSX; /** see {@link LwjglApplicationConfiguration#forceExit */
final Client client = new Client(d2Home, d2Saves, height);
if (cmd != null) {
client.setWindowedForced(cmd.hasOption("windowed"));