修复中级房间人数问题

This commit is contained in:
aozhiwei 2020-06-03 15:02:18 +08:00
parent aefd7d8878
commit 677f462738

View File

@ -592,7 +592,7 @@ bool Room::CanJoin(const std::string& accountid, RoomType_e self_room_type)
}
}
if (room_type_ == RT_MidBrid) {
if (room_type_ != self_room_type || GetPlayerNum() > 4) {
if (room_type_ != self_room_type || GetPlayerNum() >= 4) {
return false;
}
}