aboutsummaryrefslogtreecommitdiffstats
path: root/code/server
diff options
context:
space:
mode:
Diffstat (limited to 'code/server')
-rw-r--r--code/server/sv_client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/code/server/sv_client.c b/code/server/sv_client.c
index 0b17fe5..a69c620 100644
--- a/code/server/sv_client.c
+++ b/code/server/sv_client.c
@@ -1153,8 +1153,8 @@ void SV_UserinfoChanged( client_t *cl ) {
i = atoi(val);
if ( i < 1 ) {
i = 1;
- } else if ( i > 30 ) {
- i = 30;
+ } else if ( i > sv_fps->integer ) {
+ i = sv_fps->integer;
}
cl->snapshotMsec = 1000/i;
} else {