1
This commit is contained in:
parent
c2f9dff2c8
commit
a6328b71c7
@ -110,7 +110,7 @@ void RoomMgr::_CMJoin(f8::MsgHdr& hdr, const cs::CMJoin& msg)
|
||||
}
|
||||
if (msg.proto_version() >= cs::ProtoVersion) {
|
||||
const mt::Map* map_meta = mt::Map::GetById(msg.mapid());
|
||||
if (!map_meta) {
|
||||
if (!map_meta || !map_meta->IsOpen()) {
|
||||
JoinErrorHandle(msg, 3, hdr.socket_handle);
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user