From fe068e5491534206f386c31fa71568872eb7dc13 Mon Sep 17 00:00:00 2001 From: /dev/humancontroller <devhc@example.com> Date: Thu, 9 Mar 2017 13:40:01 +0100 Subject: fix the client's GUID resetting (to the non-serverunique value) upon switching fs_game (when connecting to a modded server) --- src/client/cl_main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/client/cl_main.c b/src/client/cl_main.c index 16253921..dbaaa2a9 100644 --- a/src/client/cl_main.c +++ b/src/client/cl_main.c @@ -3755,7 +3755,8 @@ void CL_Init( void ) { CL_GenerateQKey(); Cvar_Get( "cl_guid", "", CVAR_USERINFO | CVAR_ROM ); - CL_UpdateGUID( NULL, 0 ); + if( clc.state == CA_DISCONNECTED ) + CL_UpdateGUID( NULL, 0 ); Com_Printf( "----- Client Initialization Complete -----\n" ); } -- cgit