diff --git a/src/server/sv_cmd.c b/src/server/sv_cmd.c index 094d2f1a..4dcd0a1e 100644 --- a/src/server/sv_cmd.c +++ b/src/server/sv_cmd.c @@ -550,6 +550,7 @@ SV_ServerRecord_f(void) { Com_Printf("not enough buffer space available.\n"); fclose(svs.demofile); + SVS.demofile = NULL; return; } }