Browse Source

Fixed bug when parent folder does not exist

tags/2.7
Chris Cromer 3 years ago
parent
commit
ed3e502f96
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/com/droidquest/levels/MainMenu.java

+ 1
- 1
src/com/droidquest/levels/MainMenu.java View File

@@ -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