]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sys_unix.c
host: Return to main() if the loop breaks and Sys_Quit from there
[xonotic/darkplaces.git] / sys_unix.c
index 09929a3793af656f70fda90e4069fa270bc5281f..4837d3ad82353a1ef08838f8dd1b1a355cc715d8 100644 (file)
@@ -166,6 +166,8 @@ int main (int argc, char **argv)
 #endif
        Host_Main();
 
+       Sys_Quit(0);
+
        return 0;
 }