]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - host.c
Quick fix for the "0 not loaded" bug (error on trying to connect to a server).
[xonotic/darkplaces.git] / host.c
diff --git a/host.c b/host.c
index 41272a7739614ae8b8a64f1716dc03d276c3a137..da431962c29e18bea7ce6890a0b2604c3fe6d768 100644 (file)
--- a/host.c
+++ b/host.c
@@ -517,6 +517,8 @@ void Host_ShutdownServer(qboolean crash)
        memset(&sv, 0, sizeof(sv));
        memset(svs.clients, 0, svs.maxclients*sizeof(client_t));
 
+       PRVM_ResetProg();
+
        SV_VM_End();
 }