aboutsummaryrefslogtreecommitdiffstats
path: root/code/server/sv_client.c
diff options
context:
space:
mode:
Diffstat (limited to 'code/server/sv_client.c')
-rw-r--r--code/server/sv_client.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/code/server/sv_client.c b/code/server/sv_client.c
index a69c620..01b409a 100644
--- a/code/server/sv_client.c
+++ b/code/server/sv_client.c
@@ -1500,6 +1500,13 @@ void SV_ExecuteClientMessage( client_t *cl, msg_t *msg ) {
return;
}
+ // this client has acknowledged the new gamestate so it's
+ // safe to start sending it the real time again
+ if( cl->oldServerTime && serverId == sv.serverId ){
+ Com_DPrintf( "%s acknowledged gamestate\n", cl->name );
+ cl->oldServerTime = 0;
+ }
+
// read optional clientCommand strings
do {
c = MSG_ReadByte( msg );