diff options
author | Thilo Schulz <arny@ats.s.bawue.de> | 2011-07-15 16:51:54 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-10 22:29:59 +0000 |
commit | 46aaeb56660ef727c30841718331fef45e8377be (patch) | |
tree | 02134c1b7aa6bca7ed85983b89246b95a8d13e45 /src/server/sv_init.c | |
parent | f5712eeab32ebbd4b283d1031cd37eaa12573596 (diff) |
Move rate limiting / queued packet sending logic from Com_Frame() to sv_main.c
Diffstat (limited to 'src/server/sv_init.c')
-rw-r--r-- | src/server/sv_init.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server/sv_init.c b/src/server/sv_init.c index 4c0ae128..c5d11e74 100644 --- a/src/server/sv_init.c +++ b/src/server/sv_init.c @@ -634,6 +634,7 @@ void SV_Init (void) sv_minRate = Cvar_Get ("sv_minRate", "0", CVAR_ARCHIVE | CVAR_SERVERINFO ); sv_maxRate = Cvar_Get ("sv_maxRate", "0", CVAR_ARCHIVE | CVAR_SERVERINFO ); + sv_dlRate = Cvar_Get("sv_dlRate", "100", CVAR_ARCHIVE | CVAR_SERVERINFO); sv_minPing = Cvar_Get ("sv_minPing", "0", CVAR_ARCHIVE | CVAR_SERVERINFO ); sv_maxPing = Cvar_Get ("sv_maxPing", "0", CVAR_ARCHIVE | CVAR_SERVERINFO ); |