log_error

This commit is contained in:
Kai Philipp
2019-09-14 17:29:10 +02:00
parent 6681fe2102
commit e5a975dd8c
+1
View File
@@ -1425,6 +1425,7 @@ ServerLobbyThread::HandleNetPacketJoinGame(boost::shared_ptr<SessionData> sessio
MoveSessionToGame(game, session, joinGame.autoleave(), true);
}
} else {
LOG_ERROR("JoinGame pre validation");
// As guest, you are only allowed to join normal games.
if (session->GetPlayerData()->GetRights() == PLAYER_RIGHTS_GUEST
&& tmpData.gameType != GAME_TYPE_NORMAL) {