Fixed bug when parent folder does not exist

This commit is contained in:
Chris Cromer 2015-11-25 22:19:27 -03:00
parent ece529208d
commit ed3e502f96

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;