engine: client: only send continueloading for legacy protocol

This commit is contained in:
Alibek Omarov 2024-10-10 23:28:21 +03:00
parent 9c97235fe8
commit 3f2fbb10d8

View file

@ -2698,10 +2698,11 @@ void CL_ProcessFile( qboolean successfully_received, const char *filename )
Con_Printf( S_ERROR "server failed to transmit file '%s'\n", CL_CleanFileName( filename ));
}
if( cls.legacymode )
if( cls.legacymode == PROTO_LEGACY )
{
if( host.downloadcount > 0 )
host.downloadcount--;
if( !host.downloadcount )
{
MSG_WriteByte( &cls.netchan.message, clc_stringcmd );