FTB fixage
* Corrected an uninitialized variable that prevented forge list loadinf on Windows * Run the update step twice for FTB instances to ensure forge libs get downloaded
This commit is contained in:
parent
245d441a6e
commit
7a07ed7940
@ -111,6 +111,9 @@ std::shared_ptr<Task> OneSixFTBInstance::doUpdate(bool only_prepare)
|
|||||||
}
|
}
|
||||||
task->addTask(OneSixInstance::doUpdate(only_prepare));
|
task->addTask(OneSixInstance::doUpdate(only_prepare));
|
||||||
task->addTask(std::shared_ptr<Task>(new OneSixFTBInstanceForge(m_forge->version(), this, this)));
|
task->addTask(std::shared_ptr<Task>(new OneSixFTBInstanceForge(m_forge->version(), this, this)));
|
||||||
|
//FIXME: yes. this may appear dumb. but the previous step can change the list, so we do it all again.
|
||||||
|
//TODO: Add a graph task. Construct graphs of tasks so we may capture the logic properly.
|
||||||
|
task->addTask(OneSixInstance::doUpdate(only_prepare));
|
||||||
return task;
|
return task;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -80,7 +80,7 @@ public:
|
|||||||
protected:
|
protected:
|
||||||
QList<BaseVersionPtr> m_vlist;
|
QList<BaseVersionPtr> m_vlist;
|
||||||
|
|
||||||
bool m_loaded;
|
bool m_loaded = false;
|
||||||
|
|
||||||
protected
|
protected
|
||||||
slots:
|
slots:
|
||||||
|
Loading…
Reference in New Issue
Block a user