This commit is contained in:
aozhiwei 2022-11-24 13:08:22 +08:00
commit a8e18e1ff1

View File

@ -1007,6 +1007,9 @@ bool Room::CanJoin(const std::string& accountid,
if (pve_instance->pb->gemini_id() != msg.pve_instance_id()) {
return false;
}
#if 1
return false;
#endif
}
if (init_map_id != 0) {
MapInstance* map_instance = MapMgr::Instance()->GetMapInstance(init_map_id);
@ -1046,6 +1049,9 @@ bool Room::CanJoin(class MatchTeam* team)
if (pve_instance->pb->gemini_id() != team->GetOwner()->msg->pve_instance_id()) {
return false;
}
#if 1
return false;
#endif
}
#if 0
if (team->GetCurrMembers().size() != MAX_TEAM_NUM) {