This commit is contained in:
aozhiwei 2022-10-23 09:42:13 +08:00
parent 4f13bb2f61
commit 0b101aa961

View File

@ -443,9 +443,16 @@ bool MatchTeam::CanCombine(MatchTeam* b)
#endif
return false;
}
if (GetSlotNum() != b->GetSlotNum()) {
if (GetOwner()->msg->room_mode() != b->GetOwner()->msg->room_mode() ||
GetOwner()->msg->pve_instance_id() != b->GetOwner()->msg->pve_instance_id()) {
#ifdef DEBUG
a8::XPrintf("CanCombine 31\n", {});
#endif
return false;
}
if (GetSlotNum() != b->GetSlotNum()) {
#ifdef DEBUG
a8::XPrintf("CanCombine 32\n", {});
#endif
return false;
}