This commit is contained in:
aozhiwei 2023-06-25 16:18:37 +08:00
parent 9699569d82
commit aabe64715b

View File

@ -1016,6 +1016,13 @@ bool Room::CanJoin(const std::string& accountid,
return false; return false;
} }
} }
if (IsPvpRankModeRoom()) {
if (GetGasInactiveReaminTime() < 60) {
if (!HaveMyTeam(msg.team_uuid())) {
return false;
}
}
}
if (IsNewBieRoom()) { if (IsNewBieRoom()) {
return false; return false;
} }