diff --git a/server/gameserver/roommgr.cc b/server/gameserver/roommgr.cc index 79d6ed09..06f21af7 100644 --- a/server/gameserver/roommgr.cc +++ b/server/gameserver/roommgr.cc @@ -929,6 +929,7 @@ void RoomMgr::_CMJoinCustomBattle(f8::MsgHdr& hdr, const cs::CMJoin& msg) hum->ProcSkillList(); hum->SetHP(hum->GetBattleContext()->GetMaxHP()); hum->SetMaxHP(hum->GetHP()); + member->Join(hum); PlayerMgr::Instance()->IncAccountNum(msg.account_id()); RoomMgr::Instance()->OnJoinRoomOk(msg, hum); };