]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - host.c
rcon: use multiple reply packets to fit any size (where "any" means "as big as the...
[xonotic/darkplaces.git] / host.c
diff --git a/host.c b/host.c
index f4ee0b41c7c83a3d374df7b2d214e72432a060a5..1e62ec9e25472865304cc1a7423a1e5b1b88f06a 100644 (file)
--- a/host.c
+++ b/host.c
@@ -103,7 +103,8 @@ void Host_Error (const char *error, ...)
        va_list argptr;
 
        // turn off rcon redirect if it was active when the crash occurred
-       rcon_redirect = false;
+       // to prevent loops when it is a networking problem
+       Con_Rcon_Redirect_Abort();
 
        va_start (argptr,error);
        dpvsnprintf (hosterrorstring1,sizeof(hosterrorstring1),error,argptr);