Trying to send reason why the player leaves the game.

This commit is contained in:
lotodore
2008-11-25 23:19:34 +00:00
parent b236fa9d62
commit c57ea0985b
15 changed files with 65 additions and 24 deletions
+1 -1
View File
@@ -702,7 +702,7 @@ AbstractClientStateReceiving::Process(ClientThread &client)
tmpPacket->ToNetPacketPlayerLeft()->GetData(playerLeftData);
// Signal to GUI and remove from data list.
client.RemovePlayerData(playerLeftData.playerId);
client.RemovePlayerData(playerLeftData.playerId, playerLeftData.removeReason);
}
else if (tmpPacket->ToNetPacketGameAdminChanged())
{