Prevent config being saved every frame

fixes the occasional freezing that some people experience
This commit is contained in:
Simon 2024-04-08 21:04:17 +01:00
parent 6e119d989a
commit 6977676656

View file

@ -1371,7 +1371,7 @@ void Com_Frame( void ) {
TBXR_FrameSetup();
// write config file if anything changed
Com_WriteConfiguration();
//Com_WriteConfiguration();
//
// main event loop
@ -1571,6 +1571,10 @@ Com_Shutdown
=================
*/
void Com_Shutdown (void) {
// write config file if anything changed
Com_WriteConfiguration();
CM_ClearMap();
if (logfile) {