]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - host_cmd.c
oops, this is in the server VM
[xonotic/darkplaces.git] / host_cmd.c
index 77c1bfcef2675eaa94775fe3d0bb39194f263d33..0640755657e81f56801059405622c1e3ef01daa9 100644 (file)
@@ -65,7 +65,7 @@ void Host_Status_f (void)
        void (*print) (const char *fmt, ...);
        char ip[22];
        int frags;
-       
+
        if (cmd_source == src_command)
        {
                // if running a client, try to send over network so the client's status report parser will see the report
@@ -82,6 +82,8 @@ void Host_Status_f (void)
        if (!sv.active)
                return;
        
+       SV_VM_Begin();
+       
        in = 0;
        if (Cmd_Argc() == 2)
        {
@@ -187,6 +189,8 @@ void Host_Status_f (void)
                        print ("^7%s\n", client->name);
                }
        }
+
+       SV_VM_End();
 }