allow seticon to fail (close #85)

This commit is contained in:
yugecin 2016-12-10 14:46:46 +01:00
parent b66c0d5c5c
commit 3a137b0ff0

View File

@ -208,7 +208,11 @@ public class Opsu extends StateBasedGame {
// basic game settings
Options.setDisplayMode(app);
String[] icons = { "icon16.png", "icon32.png" };
app.setIcons(icons);
try {
app.setIcons(icons);
} catch (Exception e) {
Log.error("could not set icon");
}
app.setForceExit(true);
app.start();