fix changing from a profile to none (still not completely fixed)
This commit is contained in:
@@ -71,7 +71,10 @@ void ProfileManager::TryLoadProfile( PlayerNumber pn )
|
|||||||
{
|
{
|
||||||
CString sProfile = PREFSMAN->m_sDefaultProfile[pn];
|
CString sProfile = PREFSMAN->m_sDefaultProfile[pn];
|
||||||
if( sProfile.empty() )
|
if( sProfile.empty() )
|
||||||
|
{
|
||||||
|
m_sProfileDir[pn] = "";
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if( !DoesProfileExist(sProfile) )
|
if( !DoesProfileExist(sProfile) )
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user