engine: fix dedicated check

This commit is contained in:
Alibek Omarov 2019-03-22 18:26:44 +03:00
parent 1538bc609d
commit b09242e41c
1 changed files with 2 additions and 3 deletions

View File

@ -2384,9 +2384,8 @@ void HTTP_Run( void )
}
// update progress
#ifndef XASH_DEDICATED
Cvar_SetValue( "scr_download", flProgress/iProgressCount * 100 );
#endif // XASH_DEDICATED
if( !Host_IsDedicated() )
Cvar_SetValue( "scr_download", flProgress/iProgressCount * 100 );
HTTP_AutoClean();
}