1
This commit is contained in:
parent
41ad318626
commit
7ccd02df82
@ -125,10 +125,13 @@ void RoomMgr::Update(int delta_time)
|
|||||||
|
|
||||||
void RoomMgr::_CMJoin(f8::MsgHdr& hdr, const cs::CMJoin& msg)
|
void RoomMgr::_CMJoin(f8::MsgHdr& hdr, const cs::CMJoin& msg)
|
||||||
{
|
{
|
||||||
|
#ifdef DEBUG
|
||||||
|
#else
|
||||||
if (msg.proto_version() < 2021073001) {
|
if (msg.proto_version() < 2021073001) {
|
||||||
JoinErrorHandle(msg, 6, hdr.socket_handle);
|
JoinErrorHandle(msg, 6, hdr.socket_handle);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
if (IsLimitJoin()) {
|
if (IsLimitJoin()) {
|
||||||
JoinErrorHandle(msg, 2, hdr.socket_handle);
|
JoinErrorHandle(msg, 2, hdr.socket_handle);
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user