summaryrefslogtreecommitdiffstats
path: root/api/logic/launch
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2016-11-17 01:21:49 +0100
committerPetr Mrázek <peterix@gmail.com>2016-11-17 01:21:49 +0100
commitfd34ca5a0f4492c4b280df8aa3d9d82154b5d9bc (patch)
tree8fa95d24d9c50335378806910d8caa4073fb61ca /api/logic/launch
parent9cf8b42d8923454b335159b08cc6dd551afd9301 (diff)
downloadMultiMC-fd34ca5a0f4492c4b280df8aa3d9d82154b5d9bc.tar
MultiMC-fd34ca5a0f4492c4b280df8aa3d9d82154b5d9bc.tar.gz
MultiMC-fd34ca5a0f4492c4b280df8aa3d9d82154b5d9bc.tar.lz
MultiMC-fd34ca5a0f4492c4b280df8aa3d9d82154b5d9bc.tar.xz
MultiMC-fd34ca5a0f4492c4b280df8aa3d9d82154b5d9bc.zip
NOISSUE always run the ExtractNatives task during launch
The task now checks the conditions, giving the update process time to supply all the metadata.
Diffstat (limited to 'api/logic/launch')
-rw-r--r--api/logic/launch/LaunchTask.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/api/logic/launch/LaunchTask.cpp b/api/logic/launch/LaunchTask.cpp
index 8b9da398..ea4ed43e 100644
--- a/api/logic/launch/LaunchTask.cpp
+++ b/api/logic/launch/LaunchTask.cpp
@@ -225,14 +225,12 @@ void LaunchTask::onLogLine(QString line, MessageLevel::Enum level)
void LaunchTask::emitSucceeded()
{
- m_instance->cleanupAfterRun();
m_instance->setRunning(false);
Task::emitSucceeded();
}
void LaunchTask::emitFailed(QString reason)
{
- m_instance->cleanupAfterRun();
m_instance->setRunning(false);
m_instance->setCrashed(true);
Task::emitFailed(reason);