mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-10-03 11:04:46 -04:00
GH-1794 Only write to the instance.cfg once after copying FTB instances.
This commit is contained in:
1 parent
c421134d49
commit
cf43abc87e
4 files changed
+5
-8
No files matched your search
@@ -51,7 +51,7 @@ void InstanceCopyTask::copyFinished()
|
||||
instanceSettings->registerSetting("InstanceType", "Legacy");
|
||||
|
||||
// FIXME: and this too? errors???
|
||||
m_origInstance->copy(m_stagingPath);
|
||||
m_origInstance->copy(instanceSettings, m_stagingPath);
|
||||
|
||||
InstancePtr inst(new NullInstance(m_globalSettings, instanceSettings, m_stagingPath));
|
||||
inst->setName(m_instName);
|
||||
|
||||
Reference in new issue
Block a user