fix "FILEMAN->CreateDirectory leaves temp file hanging around"

This commit is contained in:
Chris Danford
2004-08-31 06:44:16 +00:00
parent e78197cd2e
commit c50f72182c
2 changed files with 8 additions and 4 deletions
+2 -2
View File
@@ -1309,8 +1309,8 @@ bool HandleGlobalInputs( DeviceInput DeviceI, InputEventType type, GameInput Gam
BOOKKEEPER->WriteToDisk();
PROFILEMAN->SaveMachineProfile();
FOREACH_PlayerNumber( p )
if( PROFILEMAN->IsUsingProfile((PlayerNumber)p) )
PROFILEMAN->SaveProfile( (PlayerNumber)p );
if( PROFILEMAN->IsUsingProfile(p) )
PROFILEMAN->SaveProfile( p );
SCREENMAN->SystemMessage( "Stats saved" );
}
else