allow seticon to fail (close #85)
This commit is contained in:
parent
b66c0d5c5c
commit
3a137b0ff0
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue
Block a user