From ac92dfecf28aa791f7fba8c003699f2d0f7fad4c Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Thu, 21 Sep 2023 17:29:55 +0800 Subject: [PATCH] 1 --- server/gameserver/roommgr.cc | 1 + 1 file changed, 1 insertion(+) 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); };