修复匹配问题

This commit is contained in:
aozhiwei 2020-05-12 20:25:37 +08:00
parent 6e797f956a
commit c69d619887

View File

@ -17,7 +17,7 @@
#include "framework/cpp/httpclientpool.h"
#include "framework/cpp/utils.h"
const int ROOM_NUM_DOWN_LIMIT = 5;
const int ROOM_NUM_DOWN_LIMIT = 15;
const int ROOM_NUM_UP_LIMIT = 40;
const int HUM_NUM_DOWN_LIMIT = 1000;
@ -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;
}
//游戏次数,吃鸡数,击杀数