1
This commit is contained in:
parent
04506acb20
commit
48de22c611
@ -181,6 +181,9 @@ int RoomMgr::OverRoomNum()
|
|||||||
|
|
||||||
std::shared_ptr<Room> RoomMgr::GetJoinableRoom(std::shared_ptr<CustomBattle> p)
|
std::shared_ptr<Room> RoomMgr::GetJoinableRoom(std::shared_ptr<CustomBattle> p)
|
||||||
{
|
{
|
||||||
|
if (p->IsNewBieBattle()) {
|
||||||
|
return nullptr;
|
||||||
|
}
|
||||||
if (p->IsMoba()) {
|
if (p->IsMoba()) {
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user