move tmp file deletion before the break

This commit is contained in:
Edgar 2021-01-15 12:14:14 +01:00
parent 066b3a3f78
commit 98554be75d
No known key found for this signature in database
GPG key ID: 8731E6C0166EAA85

View file

@ -3347,11 +3347,11 @@ void CClient::Run()
s_SavedConfig = true;
}
if(m_Warnings.empty() && !GameClient()->IsDisplayingWarning())
break;
if(m_aDDNetInfoTmp[0])
m_pStorage->RemoveFile(m_aDDNetInfoTmp, IStorage::TYPE_SAVE);
if(m_Warnings.empty() && !GameClient()->IsDisplayingWarning())
break;
}
#if defined(CONF_FAMILY_UNIX)