Browse Source

Fixed bug when parent folder does not exist

master
Chris Cromer 6 years ago
parent
commit
ed3e502f96
  1. 2
      src/com/droidquest/levels/MainMenu.java

2
src/com/droidquest/levels/MainMenu.java

@ -269,7 +269,7 @@ public class MainMenu extends Level {
File f = new File(System.getProperty("user.home") + "/.DroidQuest/ROlevels/");
if (!f.exists()) {
f.mkdir();
f.mkdirs();
}
String[] files = f.list();
int pageIndex = 5;

Loading…
Cancel
Save