diff --git a/core/src/mindustry/ClientLauncher.java b/core/src/mindustry/ClientLauncher.java index c68681b7a9..a0fe9fbdb1 100644 --- a/core/src/mindustry/ClientLauncher.java +++ b/core/src/mindustry/ClientLauncher.java @@ -35,7 +35,7 @@ public abstract class ClientLauncher extends ApplicationCore implements Platform @Override public void setup(){ - String dataDir = OS.env("MINDUSTRY_DATA_DIR"); + String dataDir = System.getProperty("mindustry.data.dir", OS.env("MINDUSTRY_DATA_DIR")); if(dataDir != null){ Core.settings.setDataDirectory(files.absolute(dataDir)); }