Fix wasIngame reset
This commit is contained in:
@@ -288,8 +288,10 @@ void StepManiaLanServer::GameOver(PacketFunctions &Packet, int clientNum) {
|
|||||||
Reply.WriteNT( playersPtr[x]->options );
|
Reply.WriteNT( playersPtr[x]->options );
|
||||||
|
|
||||||
for (x = 0; x < NUMBERCLIENTS; x++)
|
for (x = 0; x < NUMBERCLIENTS; x++)
|
||||||
if(Client[x].wasIngame)
|
if(Client[x].wasIngame) {
|
||||||
SendNetPacket(x, Reply);
|
SendNetPacket(x, Reply);
|
||||||
|
Client[x].wasIngame = false;
|
||||||
|
}
|
||||||
|
|
||||||
// SendToAllClients(Reply);
|
// SendToAllClients(Reply);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user