]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sv_main.c
client: Implement CL_Frame. Move client cvars out of host to cl_main
[xonotic/darkplaces.git] / sv_main.c
index 5551acb51b9660bf919465bf001445bad0bc9ef8..8750bac1ebbd7e72beff2be32ec688202a234e32 100644 (file)
--- a/sv_main.c
+++ b/sv_main.c
@@ -4210,7 +4210,7 @@ static int SV_ThreadFunc(void *voiddata)
                        sv.frametime = advancetime * host_timescale.value;
                        if (host_framerate.value)
                                sv.frametime = host_framerate.value;
-                       if (sv.paused || (cl.islocalgame && (key_dest != key_game || key_consoleactive || cl.csqc_paused)))
+                       if (sv.paused || host.paused)
                                sv.frametime = 0;
 
                        sv_timer -= advancetime;