1
This commit is contained in:
parent
15891a8c23
commit
ebd147bb42
@ -252,5 +252,9 @@ void App::DispatchSocketMsg(f8::MsgHdr* hdr)
|
||||
ProcessGameGateMsg(hdr);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -499,7 +499,8 @@ void RoomMgr::_CMJoinCustomBattle(f8::MsgHdr* hdr, const cs::CMJoin& msg, int cu
|
||||
hdr->socket_handle,
|
||||
[] (const a8::Args& args)
|
||||
{
|
||||
|
||||
int socket_handle = args.Get<int>(0);
|
||||
RoomMgr::Instance()->socket_hash_.erase(socket_handle);
|
||||
});
|
||||
std::shared_ptr<cs::CMJoin> join_msg = std::make_shared<cs::CMJoin>();
|
||||
*join_msg = msg;
|
||||
|
Loading…
x
Reference in New Issue
Block a user