File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -240,9 +240,10 @@ namespace RTE {
240
240
LoadOfficialModules ();
241
241
242
242
// If a single module is specified, skip loading all other unofficial modules and load specified module only.
243
- if (!m_SingleModuleToLoad.empty () && !IsModuleOfficial (m_SingleModuleToLoad)) {
243
+ if (!m_SingleModuleToLoad.empty () && !IsModuleOfficial (m_SingleModuleToLoad) && ! IsModuleUserdata (m_SingleModuleToLoad) ) {
244
244
if (!LoadDataModule (m_SingleModuleToLoad, DataModule::DataModuleType::Unofficial, LoadingScreen::LoadingSplashProgressReport)) {
245
245
g_ConsoleMan.PrintString (" ERROR: Failed to load DataModule \" " + m_SingleModuleToLoad + " \" ! Only official modules were loaded!" );
246
+ g_ConsoleMan.SetEnabled (true );
246
247
return false ;
247
248
}
248
249
} else {
You can’t perform that action at this time.
0 commit comments