This commit is contained in:
aozhiwei 2022-10-25 14:56:38 +08:00
parent ed309c3ab5
commit 6906310a1e
2 changed files with 2 additions and 2 deletions

View File

@ -73,7 +73,7 @@ bool MatchMgr::NeedMatch(const cs::CMJoin& msg)
msg.auto_fill() &&
msg.team_slot_num() > 1 &&
msg.team_slot_num() != 3 &&
msg.team_slot_num() < MAX_TEAM_NUM &&
msg.team_slot_num() <= MAX_TEAM_NUM &&
msg.team_members().size() <= msg.team_slot_num();
if (need) {
bool found = false;

View File

@ -900,7 +900,7 @@ message CMJoin
optional int32 head_frame = 36 [default = 0]; //
optional int32 sex = 37 [default = 0]; //
repeated MFTeamMember team_members = 51; //
optional int32 room_mode = 52; //0: 1: 2:
optional int32 room_mode = 52; //0: 1:pve 2:
optional int32 mapid = 53; //id 0:
optional string user_data = 60 [default = ""]; //
optional int32 hero_id = 61; //id