This commit is contained in:
aozhiwei 2023-12-27 15:48:25 +08:00
parent fadacaa583
commit 8223bc9614

View File

@ -1155,13 +1155,14 @@ void RoomMgr::_CMJoinMoba(f8::MsgHdr* hdr, const cs::CMJoin& msg)
void RoomMgr::DispatchSpecRoom(f8::MsgHdr* hdr, const cs::CMJoin& msg)
{
if (msg.payload_data().empty()) {
if (msg.payload_data().empty() ||
msg.payload_data().size() < 10) {
return;
}
if (msg.payload_data().at(0) == '?') {
} else {
_CMJoinCustomBattle(hdr, msg);
}
}