SaveCurrentSettingsToProfile on debug save

This commit is contained in:
Glenn Maynard
2007-06-15 15:53:13 +00:00
parent 6a1db065d2
commit a18b2d4c93
+5 -1
View File
@@ -980,7 +980,11 @@ class DebugLineWriteProfiles : public IDebugLine
if( g_ProfileSlot == ProfileSlot_Machine )
GAMESTATE->SaveLocalData();
else
GAMESTATE->SaveProfile( (PlayerNumber) g_ProfileSlot );
{
PlayerNumber pn = (PlayerNumber) g_ProfileSlot;
GAMESTATE->SaveCurrentSettingsToProfile(pn);
GAMESTATE->SaveProfile( pn );
}
IDebugLine::DoAndMakeSystemMessage( sMessageOut );
}
};