This commit is contained in:
aozhiwei 2023-06-25 15:18:28 +08:00
parent d044953e9c
commit 0552714f77

View File

@ -1009,9 +1009,12 @@ bool Room::CanJoin(const std::string& accountid,
{
if (lock_room_) {
if (IsPvpRankModeRoom()) {
if (!HaveMyTeam(msg.team_uuid())) {
return false;
}
} else {
return false;
}
return false;
}
if (IsNewBieRoom()) {
return false;