1
This commit is contained in:
parent
14876006ac
commit
7ff498659b
@ -280,7 +280,8 @@ Room* RoomMgr::GetJoinableRoom(const cs::CMJoin& msg,
|
||||
}
|
||||
for (auto& pair : inactive_room_hash_) {
|
||||
Room* room = pair.second;
|
||||
if (room->CanJoin(msg.account_id(),
|
||||
if (!room->GetCustomBattle() &&
|
||||
room->CanJoin(msg.account_id(),
|
||||
self_room_type,
|
||||
(RoomMode_e)msg.room_mode(),
|
||||
proto_version,
|
||||
|
Loading…
x
Reference in New Issue
Block a user