This commit is contained in:
aozhiwei 2023-12-28 14:33:46 +08:00
parent 905bffd3b7
commit 79f61ee4e0

View File

@ -1174,6 +1174,12 @@ void RoomMgr::_CMJoinMoba(f8::MsgHdr* hdr, const cs::CMJoin& msg)
p->GetTeamNum() > 2) {
return;
}
if (p->GetRoom()) {
auto hum = p->GetRoom()->GetPlayerByAccountId(join_msg->account_id());
if (hum) {
}
return;
}
int game_times = 0;
RoomType_e self_room_type = RoomType_OldBrid1;
time_t register_time = f8::ExtractRegisterTimeFromSessionId(msg.session_id());