save mappings after automapping. Otherwise, if we don't exit cleanly, the automappings are lost and not reapplied on the next run

This commit is contained in:
Chris Danford
2005-04-24 02:06:26 +00:00
parent d1d16207a6
commit 958642a3b8
+1
View File
@@ -308,6 +308,7 @@ void ResetGame( bool ReturnToFirstScreen )
{
LOG->Info( "Remapping joysticks." );
INPUTMAPPER->AutoMapJoysticksForCurrentGame();
INPUTMAPPER->SaveMappingsToDisk();
}
PREFSMAN->m_sLastSeenInputDevices = sInputDevices;