diff options
Diffstat (limited to 'application')
-rw-r--r-- | application/MultiMC.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/application/MultiMC.cpp b/application/MultiMC.cpp index bac81f8f..833efc06 100644 --- a/application/MultiMC.cpp +++ b/application/MultiMC.cpp @@ -965,8 +965,8 @@ bool MultiMC::launch(InstancePtr instance, bool online, BaseProfilerFactory *pro } connect(controller.get(), &LaunchController::succeeded, this, &MultiMC::controllerSucceeded); connect(controller.get(), &LaunchController::failed, this, &MultiMC::controllerFailed); - controller->start(); m_runningInstances ++; + controller->start(); return true; } else if (instance->isRunning()) @@ -1148,7 +1148,6 @@ void MultiMC::on_windowClose() { extras.controller->setParentWidget(m_mainWindow); } - return; } auto mainWindow = qobject_cast<MainWindow *>(QObject::sender()); if(mainWindow) |