]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - host_cmd.c
In Host_Main, loop until host.state == host_shutdown instead of infinitely.
[xonotic/darkplaces.git] / host_cmd.c
index ef7f664d4acbd8ae1454af9212cc4ea5b7e9c87a..07750479ab580eb633c29a78652fd60e96c55ae4 100644 (file)
@@ -58,7 +58,7 @@ void Host_Quit_f(cmd_state_t *cmd)
        if(host.state == host_shutdown)
                Con_Printf("shutting down already!\n");
        else
-               Sys_Quit (0);
+               host.state = host_shutdown;
 }
 
 /*