mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-16 17:01:53 +00:00
Make sure netchan is initialized on time.
Connecting to a server sv_timeout seconds after program start was failing to to the connection instantly timing out.
This commit is contained in:
parent
f87233c69d
commit
b1e5a5f4c2
1 changed files with 1 additions and 0 deletions
|
@ -458,6 +458,7 @@ sv_new_f (void)
|
|||
Hash_Add (server_hash, sv);
|
||||
|
||||
sv->con = Connection_Add (&adr, sv, server_challenge);
|
||||
Netchan_Setup (&sv->netchan, sv->con->address, sv->qport, NC_SEND_QPORT);
|
||||
|
||||
server_getchallenge (sv->con, sv);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue