DEADSOFTWARE

Fix mkdir
authorfred-boy <fred-boy@protonmail.com>
Wed, 25 Apr 2018 11:20:20 +0000 (18:20 +0700)
committerfred-boy <fred-boy@protonmail.com>
Wed, 25 Apr 2018 11:20:20 +0000 (18:20 +0700)
core/src/ru/deadsoftware/cavecraft/CaveGame.java

index edf3206373448cdd9a59102cfcbfbb10ee0faf59..dba8758bb40921fbd7be22e6f0f22c2ec1749396 100644 (file)
@@ -35,7 +35,7 @@ public class CaveGame extends Game {
                                Gdx.app.exit();
                }
                Gdx.app.log("CaveGame", "Folder: "+GAME_FOLDER);
-               Gdx.files.local(GAME_FOLDER).mkdirs();
+               Gdx.files.absolute(GAME_FOLDER).mkdirs();
                setScreen(new GameScreen());
        }