fix: cdkey check now properly disable in clients

This commit is contained in:
Stradex 2021-03-08 06:59:26 -03:00 committed by Daniel Gibson
parent d54ccee1f5
commit f2239c75da

View file

@ -1664,7 +1664,7 @@ void idAsyncClient::SetupConnection( void ) {
// do not make the protocol depend on PB
msg.WriteShort( 0 );
clientPort.SendPacket( serverAddress, msg.GetData(), msg.GetSize() );
#ifdef ID_ENFORCE_KEY_CLIENT
#if ID_ENFORCE_KEY_CLIENT
if ( idAsyncNetwork::LANServer.GetBool() ) {
common->Printf( "net_LANServer is set, connecting in LAN mode\n" );
} else {