From 64af57015f3c4e753af93ec86a04a503a9401746 Mon Sep 17 00:00:00 2001 From: Josh Allen Date: Tue, 7 Sep 2004 01:27:43 +0000 Subject: [PATCH] Disabled sending stats names updates only when stats sort changed the name order. Now sends names update every time to avoid incorrect combo/grade/name matching in scoreboard. --- stepmania/src/NetworkSyncServer.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/stepmania/src/NetworkSyncServer.cpp b/stepmania/src/NetworkSyncServer.cpp index 1204a08e29..ead3848ff5 100644 --- a/stepmania/src/NetworkSyncServer.cpp +++ b/stepmania/src/NetworkSyncServer.cpp @@ -388,10 +388,11 @@ void StepManiaLanServer::SendStatsToClients() numPlayers = SortStats(playersPtr); //Return number of players - //If there was a chagne in the name data, send it to the clients. + //If there was a change in the name data, send it to the clients. //Used to save bandwidth and some processing time. - if (StatsNameChange) - { + //Disabled this. FUTURE: Figure out why it dosn't work correctly and fix. +// if (StatsNameChange) +// { /* Write and Send name packet */ Reply.ClearPacket(); Reply.Write1(NSCGSU + NSServerOffset); @@ -404,7 +405,7 @@ void StepManiaLanServer::SendStatsToClients() if (Client[x].InGame) SendNetPacket(x, Reply); - } +// } /* Write and send Combo packet */ Reply.ClearPacket();