Fix missing return crash

This commit is contained in:
TotallyNotElite 2018-10-26 18:41:01 +02:00
parent f830972131
commit 30bbf8bab9

View File

@ -301,6 +301,7 @@ void initThread()
{
navfile.reset();
status = unavailable;
return;
}
logging::Info("Pather: Initing with %i Areas", navfile->m_areas.size());
status = on;
@ -308,8 +309,6 @@ void initThread()
void init()
{
if (status == initing)
return;
ignoremanager::reset();
status = initing;
thread = std::thread(initThread);