1
This commit is contained in:
parent
ad2d725487
commit
c759742f5f
@ -173,7 +173,7 @@ static Player* InternalCreatePlayer(std::shared_ptr<CustomBattle> p,
|
|||||||
hum->ProcSkillList();
|
hum->ProcSkillList();
|
||||||
hum->SetHP(hum->GetNetData()->GetMaxHP());
|
hum->SetHP(hum->GetNetData()->GetMaxHP());
|
||||||
hum->SetMaxHP(hum->GetHP());
|
hum->SetMaxHP(hum->GetHP());
|
||||||
PlayerMgr::Instance()->IncAccountNum(join_msg.account_id());
|
PlayerMgr::Instance()->IncAccountNum(hum->account_id);
|
||||||
RoomMgr::Instance()->OnJoinRoomOk(join_msg, hum);
|
RoomMgr::Instance()->OnJoinRoomOk(join_msg, hum);
|
||||||
room_team->AddMember(hum);
|
room_team->AddMember(hum);
|
||||||
#ifdef MYDEBUG
|
#ifdef MYDEBUG
|
||||||
|
Loading…
x
Reference in New Issue
Block a user