1
This commit is contained in:
parent
ff0e9a9e0c
commit
f13b86d61b
@ -25,7 +25,7 @@ static RoomType_e GetHumanRoomType(const cs::CMJoin& msg)
|
||||
{
|
||||
std::vector<std::string> tmp_strings;
|
||||
a8::Split(msg.pre_settlement_info(), tmp_strings, ',');
|
||||
if (tmp_strings.size() < 3) {
|
||||
if (tmp_strings.size() <= 3) {
|
||||
return RT_NewBrid;
|
||||
}
|
||||
return RT_OldBrid;
|
||||
@ -161,7 +161,7 @@ Room* RoomMgr::GetJoinableRoom(const cs::CMJoin& msg, const RoomType_e self_room
|
||||
return group_rooms[self_room_type][rand() % group_rooms[self_room_type].size()];
|
||||
}
|
||||
if (self_room_type == RT_NewBrid) {
|
||||
if (RoomNum() < ROOM_NUM_DOWN_LIMIT - 3) {
|
||||
if (RoomNum() < ROOM_NUM_DOWN_LIMIT - 5) {
|
||||
return nullptr;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user