From 1c4924dd5ae38f773d527ce3b945a190a52b90dd Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Wed, 8 Jul 2020 13:19:34 +0800 Subject: [PATCH] 1 --- server/gameserver/roommgr.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/gameserver/roommgr.cc b/server/gameserver/roommgr.cc index e043b61..694e2a2 100644 --- a/server/gameserver/roommgr.cc +++ b/server/gameserver/roommgr.cc @@ -19,8 +19,8 @@ #include "framework/cpp/httpclientpool.h" #include "framework/cpp/utils.h" -const int ROOM_NUM_UP_LIMIT = 900; -const int HUM_NUM_DOWN_LIMIT = 1200; +const int ROOM_NUM_UP_LIMIT = 1000; +const int HUM_NUM_DOWN_LIMIT = 1500; static RoomType_e GetHumanRoomType(const cs::CMJoin& msg) { @@ -47,7 +47,7 @@ static RoomType_e GetHumanRoomType(const cs::CMJoin& msg) #endif if (game_times < MetaMgr::Instance()->newbie_game_times) { return RT_NewBrid; - } else if (game_times == 1) { + } else if (game_times == MetaMgr::Instance()->newbie_game_times + 1) { return RT_MidBrid; } return RT_OldBrid;