SaveCurrentSettingsToProfile on debug save
This commit is contained in:
@@ -980,7 +980,11 @@ class DebugLineWriteProfiles : public IDebugLine
|
|||||||
if( g_ProfileSlot == ProfileSlot_Machine )
|
if( g_ProfileSlot == ProfileSlot_Machine )
|
||||||
GAMESTATE->SaveLocalData();
|
GAMESTATE->SaveLocalData();
|
||||||
else
|
else
|
||||||
GAMESTATE->SaveProfile( (PlayerNumber) g_ProfileSlot );
|
{
|
||||||
|
PlayerNumber pn = (PlayerNumber) g_ProfileSlot;
|
||||||
|
GAMESTATE->SaveCurrentSettingsToProfile(pn);
|
||||||
|
GAMESTATE->SaveProfile( pn );
|
||||||
|
}
|
||||||
IDebugLine::DoAndMakeSystemMessage( sMessageOut );
|
IDebugLine::DoAndMakeSystemMessage( sMessageOut );
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user