return ID of the created profile

This commit is contained in:
Chris Danford
2005-07-16 05:28:34 +00:00
parent f7ebcc7c34
commit 0bc9261eb3
3 changed files with 7 additions and 3 deletions
+1 -1
View File
@@ -87,7 +87,7 @@ void ScreenSelectProfile::HandleScreenMessage( const ScreenMessage SM )
ASSERT( GAMESTATE->m_sLastSelectedProfileID.empty() )
// create
bool bResult = PROFILEMAN->CreateLocalProfile( sNewName );
bool bResult = PROFILEMAN->CreateLocalProfile( sNewName, GAMESTATE->m_sLastSelectedProfileID );
if( bResult )
SCREENMAN->SetNewScreen( NEXT_SCREEN );
else