mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-26 13:50:53 +00:00
don't constantly keep trying to reconnect to nq servers. its abusive.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4752 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
6c6999ce78
commit
811d49720d
1 changed files with 2 additions and 0 deletions
|
@ -2882,6 +2882,7 @@ void CLNQ_ConnectionlessPacket(void)
|
|||
switch(MSG_ReadByte())
|
||||
{
|
||||
case CCREP_ACCEPT:
|
||||
connectinfo.trying = false;
|
||||
if (cls.state >= ca_connected)
|
||||
{
|
||||
if (cls.demoplayback == DPB_NONE)
|
||||
|
@ -2934,6 +2935,7 @@ void CLNQ_ConnectionlessPacket(void)
|
|||
return;
|
||||
|
||||
case CCREP_REJECT:
|
||||
connectinfo.trying = false;
|
||||
s = MSG_ReadString();
|
||||
Con_Printf("Connect failed\n%s\n", s);
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue