allow seticon to fail (close #85)
This commit is contained in:
@@ -208,7 +208,11 @@ public class Opsu extends StateBasedGame {
|
|||||||
// basic game settings
|
// basic game settings
|
||||||
Options.setDisplayMode(app);
|
Options.setDisplayMode(app);
|
||||||
String[] icons = { "icon16.png", "icon32.png" };
|
String[] icons = { "icon16.png", "icon32.png" };
|
||||||
|
try {
|
||||||
app.setIcons(icons);
|
app.setIcons(icons);
|
||||||
|
} catch (Exception e) {
|
||||||
|
Log.error("could not set icon");
|
||||||
|
}
|
||||||
app.setForceExit(true);
|
app.setForceExit(true);
|
||||||
|
|
||||||
app.start();
|
app.start();
|
||||||
|
|||||||
Reference in New Issue
Block a user