summaryrefslogtreecommitdiff
path: root/src/game/g_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_main.c')
-rw-r--r--src/game/g_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/g_main.c b/src/game/g_main.c
index cefcd76d..b5d409f1 100644
--- a/src/game/g_main.c
+++ b/src/game/g_main.c
@@ -671,6 +671,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