Properly send game closed message to spectators.

This commit is contained in:
lotodore
2013-10-05 13:30:19 +02:00
parent 917f49c8bf
commit 2c5dcc2ba0
+3
View File
@@ -348,6 +348,9 @@ ServerLobbyThread::ReAddSession(boost::shared_ptr<SessionData> session, int reas
case NTF_NET_REMOVED_START_FAILED :
removed->set_removedfromgamereason(RemovedFromGameMessage::removedStartFailed);
break;
case NTF_NET_REMOVED_GAME_CLOSED :
removed->set_removedfromgamereason(RemovedFromGameMessage::gameClosed);
break;
default :
removed->set_removedfromgamereason(RemovedFromGameMessage::removedOnRequest);
break;