From 466cf0afe3b57b2ed45e85881e54ba0d715c8c38 Mon Sep 17 00:00:00 2001 From: Josh Allen Date: Thu, 2 Sep 2004 03:41:17 +0000 Subject: [PATCH] Fixed not sending end game stats to all clients. --- stepmania/src/NetworkSyncServer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/NetworkSyncServer.cpp b/stepmania/src/NetworkSyncServer.cpp index 6bb366479b..15c58f04d0 100644 --- a/stepmania/src/NetworkSyncServer.cpp +++ b/stepmania/src/NetworkSyncServer.cpp @@ -267,7 +267,7 @@ void StepManiaLanServer::GameOver(PacketFunctions &Packet, int clientNum) { Reply.Write2(playersPtr[x]->maxCombo); // LOG->Info("MaxCombo: %d", playersPtr[x]->maxCombo); } - SendNetPacket(clientNum, (char*)Reply.Data, Reply.Position); + SendToAllClients(Reply); } }