summaryrefslogtreecommitdiffstats
path: root/backend/MinecraftProcess.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'backend/MinecraftProcess.cpp')
-rw-r--r--backend/MinecraftProcess.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/MinecraftProcess.cpp b/backend/MinecraftProcess.cpp
index d4d1da3c..d34be835 100644
--- a/backend/MinecraftProcess.cpp
+++ b/backend/MinecraftProcess.cpp
@@ -49,7 +49,7 @@ MinecraftProcess::MinecraftProcess( BaseInstance* inst ) :
// export some infos
env.insert("INST_NAME", inst->name());
env.insert("INST_ID", inst->id());
- env.insert("INST_DIR", QDir(inst->rootDir()).absolutePath());
+ env.insert("INST_DIR", QDir(inst->instanceRoot()).absolutePath());
this->setProcessEnvironment(env);
m_prepostlaunchprocess.setProcessEnvironment(env);