diff options
Diffstat (limited to 'code/server/sv_client.c')
-rw-r--r-- | code/server/sv_client.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/code/server/sv_client.c b/code/server/sv_client.c index 91e2123..2cb6c05 100644 --- a/code/server/sv_client.c +++ b/code/server/sv_client.c @@ -901,6 +901,12 @@ void SV_WriteDownloadToClient( client_t *cl , msg_t *msg ) rate = sv_maxRate->integer; } } + if ( sv_minRate->integer ) { + if ( sv_minRate->integer < 1000 ) + Cvar_Set( "sv_minRate", "1000" ); + if ( sv_minRate->integer > rate ) + rate = sv_minRate->integer; + } if (!rate) { blockspersnap = 1; |