diff options
Diffstat (limited to 'logic/InstanceList.cpp')
-rw-r--r-- | logic/InstanceList.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/logic/InstanceList.cpp b/logic/InstanceList.cpp index 013de31e..a65d9f56 100644 --- a/logic/InstanceList.cpp +++ b/logic/InstanceList.cpp @@ -37,6 +37,7 @@ #include "minecraft/MinecraftVersion.h" #include "settings/INISettingsObject.h" #include "ftb/FTBPlugin.h" +#include "NullInstance.h" const static int GROUP_FILE_FORMAT_VERSION = 1; @@ -454,7 +455,7 @@ InstanceList::loadInstance(InstancePtr &inst, const QString &instDir) } else { - return InstanceList::UnknownLoadError; + inst.reset(new NullInstance(m_globalSettings, instanceSettings, instDir)); } inst->init(); return NoLoadError; |