Browse Source

engine: fix dedicated check

pull/2/head
Alibek Omarov 6 years ago
parent
commit
b09242e41c
  1. 5
      engine/common/net_ws.c

5
engine/common/net_ws.c

@ -2384,9 +2384,8 @@ void HTTP_Run( void ) @@ -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();
}

Loading…
Cancel
Save