summaryrefslogtreecommitdiff
path: root/source/sv_user.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/sv_user.c')
-rw-r--r--source/sv_user.c31
1 files changed, 15 insertions, 16 deletions
diff --git a/source/sv_user.c b/source/sv_user.c
index 6bd6dc2..55360bd 100644
--- a/source/sv_user.c
+++ b/source/sv_user.c
@@ -349,22 +349,6 @@ static void SV_New_f( void ) {
SV_ClientCommand( sv_client, "\n" );
- // send version string request
- if( !sv_client->versionString ) {
- SV_ClientCommand( sv_client, "cmd \177c version $version\n" );
- }
-
- // send reconnect var request
- if( sv_force_reconnect->string[0] && !sv_client->reconnect_done ) {
- if( NET_IsLocalAddress( &sv_client->netchan->remote_address ) ) {
- sv_client->reconnect_done = qtrue;
- } else {
- SV_ClientCommand( sv_client, "cmd \177c connect $%s\n",
- sv_client->reconnect_var );
- }
- }
-
-
//
// serverdata needs to go over for all types of servers
// to make sure the protocol is right, and to set the gamedir
@@ -404,6 +388,21 @@ static void SV_New_f( void ) {
SV_ClientCommand( sv_client, "\n" );
+ // send version string request
+ if( !sv_client->versionString ) {
+ SV_ClientCommand( sv_client, "cmd \177c version $version\n" );
+ }
+
+ // send reconnect var request
+ if( sv_force_reconnect->string[0] && !sv_client->reconnect_done ) {
+ if( NET_IsLocalAddress( &sv_client->netchan->remote_address ) ) {
+ sv_client->reconnect_done = qtrue;
+ } else {
+ SV_ClientCommand( sv_client, "cmd \177c connect $%s\n",
+ sv_client->reconnect_var );
+ }
+ }
+
Com_DPrintf( "Going from cs_connected to cs_primed for %s\n",
sv_client->name );
sv_client->state = cs_primed;