fix STANDALONE challengeResponse (#4000)

This commit is contained in:
Ludwig Nussel 2009-03-02 17:29:51 +00:00
parent 2864898147
commit ae612721a3

View file

@ -82,11 +82,8 @@ void SV_GetChallenge( netadr_t from ) {
} }
#ifdef STANDALONE #ifdef STANDALONE
if(Cvar_VariableIntegerValue("com_standalone")) challenge->pingTime = svs.time;
{ NET_OutOfBandPrint( NS_SERVER, from, "challengeResponse %i", challenge->challenge );
challenge->pingTime = svs.time;
NET_OutOfBandPrint( NS_SERVER, from, "challengeResponse %i", challenge->challenge );
}
#else #else
// if they are on a lan address, send the challengeResponse immediately // if they are on a lan address, send the challengeResponse immediately
if ( Sys_IsLANAddress( from ) ) { if ( Sys_IsLANAddress( from ) ) {