Fixed bug when parent folder does not exist
This commit is contained in:
parent
ece529208d
commit
ed3e502f96
@ -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…
Reference in New Issue
Block a user