Move spectators to lobby before closing a game.

This commit is contained in:
lotodore
2013-10-05 12:49:21 +02:00
parent 3710f94c1e
commit bc7f34a2a6
9 changed files with 37 additions and 2 deletions
+3
View File
@@ -589,6 +589,9 @@ AbstractClientStateReceiving::HandlePacket(boost::shared_ptr<ClientThread> clien
case RemovedFromGameMessage::removedStartFailed :
removeReason = NTF_NET_REMOVED_START_FAILED;
break;
case RemovedFromGameMessage::gameClosed :
removeReason = NTF_NET_REMOVED_GAME_CLOSED;
break;
default :
removeReason = NTF_NET_REMOVED_ON_REQUEST;
break;