diff --git a/code/game/g_main.c b/code/game/g_main.c index 2b2fb3ff..82214641 100644 --- a/code/game/g_main.c +++ b/code/game/g_main.c @@ -524,6 +524,7 @@ void G_ShutdownGame( int restart ) { G_LogPrintf("ShutdownGame:\n" ); G_LogPrintf("------------------------------------------------------------\n" ); trap_FS_FCloseFile( level.logFile ); + level.logFile = 0; } // write all the client session data so we can get it back