mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-03-12 04:41:42 +00:00
Don't autoplay next demo after a timedemo
This happened when starting the game with either -fitz or cl_startdemos 1 and then executing 'timedemo demo1' while a title demo was still playing
This commit is contained in:
parent
f943e742dc
commit
e6d65c5aa4
1 changed files with 1 additions and 2 deletions
|
@ -133,7 +133,7 @@ void Host_EndGame (const char *message, ...)
|
|||
if (cls.state == ca_dedicated)
|
||||
Sys_Error ("Host_EndGame: %s\n",string); // dedicated servers exit
|
||||
|
||||
if (cls.demonum != -1)
|
||||
if (cls.demonum != -1 && !cls.timedemo)
|
||||
CL_NextDemo ();
|
||||
else
|
||||
CL_Disconnect ();
|
||||
|
@ -943,4 +943,3 @@ void Host_Shutdown(void)
|
|||
|
||||
LOC_Shutdown ();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue