# HG changeset patch # User Adam Kaminski # Date 1630635978 14400 # Thu Sep 02 22:26:18 2021 -0400 # Node ID 103f126c10640be1beb3f527d9c9db1ea7b687bb # Parent 231265a981503d560f0664f0facb2113c95e50fe Sync the map rotation only when a client first connects to the server, not whenever they authenticate a level. diff -r 231265a98150 -r 103f126c1064 src/sv_main.cpp --- a/src/sv_main.cpp Thu Sep 02 21:34:15 2021 -0400 +++ b/src/sv_main.cpp Thu Sep 02 22:26:18 2021 -0400 @@ -1484,6 +1484,9 @@ // [TP] Tell the client his account name. SERVERCOMMANDS_SetPlayerAccountName( g_lCurrentClient, g_lCurrentClient, SVCF_ONLYTHISCLIENT ); + // [AK] Inform the client of the map rotation list. + SERVERCOMMANDS_SyncMapRotation(g_lCurrentClient, SVCF_ONLYTHISCLIENT ); + // Send a snapshot of the level. SERVER_SendFullUpdate( g_lCurrentClient ); @@ -2736,9 +2739,6 @@ // [TP] Inform the client of the state of the join queue SERVERCOMMANDS_SyncJoinQueue( ulClient, SVCF_ONLYTHISCLIENT ); - // [AK] Inform the client of the map rotation list. - SERVERCOMMANDS_SyncMapRotation( ulClient, SVCF_ONLYTHISCLIENT ); - // [BB] Let the client know that the full update is completed. SERVERCOMMANDS_FullUpdateCompleted( ulClient ); // [BB] The client will let us know that it received the update.