Show lobby for players if they are kicked during a game.

This commit is contained in:
lotodore
2007-10-27 20:29:46 +00:00
parent f372c2434a
commit bb64e07657
2 changed files with 9 additions and 2 deletions
+1
View File
@@ -407,6 +407,7 @@ AbstractClientStateReceiving::Process(ClientThread &client)
NetPacketRemovedFromGame::Data removedData;
tmpPacket->ToNetPacketRemovedFromGame()->GetData(removedData);
client.ClearPlayerDataList();
client.GetCallback().SignalNetClientWaitDialog();
client.GetCallback().SignalNetClientRemovedFromGame(removedData.removeReason);
client.SetState(ClientStateWaitJoin::Instance());
}