From 63e19167c09e6391fa863574defed58f0e681ba6 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Thu, 13 Jan 2022 13:13:37 +0800 Subject: [PATCH] 1 --- server/gameserver/human.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/server/gameserver/human.cc b/server/gameserver/human.cc index 326be538..0abc155f 100644 --- a/server/gameserver/human.cc +++ b/server/gameserver/human.cc @@ -518,13 +518,18 @@ void Human::FillMFTeamData(Human* hum, cs::MFTeamData* team_data, bool is_game_o room->GetFrameNo() - room->GetBattleStartFrameNo() < 4) { team_data->set_user_data(user_data); } - team_data->set_hero_id(meta->i->id()); if (HasBuffEffect(kBET_Jump) && GetTeam()) { bool can_follow = hum->CanFollow(this); if (can_follow) { team_data->set_can_follow(can_follow); } } + { + for (auto itr : skins) { + auto skin = team_data->add_skin(); + itr.ToPB(skin); + } + } } }