unload edits when unloading the profile
This commit is contained in:
@@ -252,6 +252,7 @@ void ProfileManager::UnloadProfile( PlayerNumber pn )
|
|||||||
m_bLastLoadWasTamperedOrCorrupt[pn] = false;
|
m_bLastLoadWasTamperedOrCorrupt[pn] = false;
|
||||||
m_bLastLoadWasFromLastGood[pn] = false;
|
m_bLastLoadWasFromLastGood[pn] = false;
|
||||||
m_Profile[pn].InitAll();
|
m_Profile[pn].InitAll();
|
||||||
|
SONGMAN->FreeAllLoadedFromProfile( (ProfileSlot) pn );
|
||||||
}
|
}
|
||||||
|
|
||||||
const Profile* ProfileManager::GetProfile( PlayerNumber pn ) const
|
const Profile* ProfileManager::GetProfile( PlayerNumber pn ) const
|
||||||
|
|||||||
Reference in New Issue
Block a user