different error msg

This commit is contained in:
Kai Philipp
2019-09-09 20:46:28 +02:00
parent 53602107d9
commit df8f38b8a8
+1 -1
View File
@@ -1436,7 +1436,7 @@ ServerLobbyThread::HandleNetPacketJoinGame(boost::shared_ptr<SessionData> sessio
){
SendJoinGameFailed(session, joinGame.gameid(), NTF_NET_JOIN_IP_BLOCKED);
}else if (!session->IsPlayerAllowedToJoinLimitRank()) {
SendJoinGameFailed(session, joinGame.gameid(), NTF_NET_JOIN_IP_BLOCKED);
SendJoinGameFailed(session, joinGame.gameid(), NTF_NET_JOIN_GAME_INVALID);
}
} else {
MoveSessionToGame(game, session, joinGame.autoleave(), false);