]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - host.c
Fix major regression preventing connect to any server using curl for custom CSQC
[xonotic/darkplaces.git] / host.c
diff --git a/host.c b/host.c
index 1b4f546db23d1c004660d9f9dc6748a2986ae37b..03375f69a6b39fcdbf0f6a215f5b64f1b84e22ca 100644 (file)
--- a/host.c
+++ b/host.c
@@ -781,6 +781,7 @@ void Host_Main(void)
                        // process console commands
 //                     R_TimeReport("preconsole");
                        CL_VM_PreventInformationLeaks();
+                       Cbuf_Frame(&cmd_clientfromserver);
                        Cbuf_Frame(&cmd_client);
                        Cbuf_Frame(&cmd_server);
 
@@ -789,11 +790,6 @@ void Host_Main(void)
                                Cbuf_Frame(&cmd_serverfromclient);
                        }
 
-                       if(cls.netcon)
-                       {
-                               Cbuf_Frame(&cmd_clientfromserver);
-                       }
-
 //                     R_TimeReport("console");
                }