mirror of
https://github.com/DrBeef/JKXR.git
synced 2024-11-09 22:31:41 +00:00
Prevent config being saved every frame
fixes the occasional freezing that some people experience
This commit is contained in:
parent
6e119d989a
commit
6977676656
1 changed files with 5 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue