mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 22:51:57 +00:00
made a teeny bit more friendly with badly configured mvdsv servers.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@652 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
b1ad773292
commit
9b7f0aea51
1 changed files with 4 additions and 1 deletions
|
@ -677,7 +677,10 @@ qboolean NET_GetPacket (netsrc_t netsrc)
|
|||
#ifndef SERVERONLY
|
||||
if (cls.state != ca_disconnected && netsrc == NS_CLIENT)
|
||||
{
|
||||
Cbuf_AddText("disconnect\nreconnect\n", RESTRICT_LOCAL); //retry connecting.
|
||||
if (cls.lastarbiatarypackettime+5 < Sys_DoubleTime()) //too many mvdsv
|
||||
Cbuf_AddText("disconnect\nreconnect\n", RESTRICT_LOCAL); //retry connecting.
|
||||
else
|
||||
Con_Printf("Packet was not delivered - server might be badly configured\n");
|
||||
break;
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue