summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/server/sv_client.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/server/sv_client.c b/src/server/sv_client.c
index b05aba56..b9b5e659 100644
--- a/src/server/sv_client.c
+++ b/src/server/sv_client.c
@@ -853,7 +853,10 @@ int SV_SendQueuedMessages(void)
if(cl->state)
{
- nextFragT = SV_Netchan_TransmitNextFragment(cl);
+ nextFragT = SV_RateMsec(cl);
+
+ if(!nextFragT)
+ nextFragT = SV_Netchan_TransmitNextFragment(cl);
if(nextFragT >= 0 && (retval == -1 || retval > nextFragT))
retval = nextFragT;