This commit is contained in:
aozhiwei 2019-07-20 13:01:03 +08:00
parent 38937b0d42
commit af9ec9a61f

View File

@ -125,7 +125,9 @@ void Human::FillMFObjectFull(cs::MFObjectFull* full_data)
p->set_backpack(backpack);
p->set_helmet(helmet);
p->set_chest(chest);
tankskin.ToPB(p->mutable_tankskin());
if (tankskin.skin_id != 0) {
tankskin.ToPB(p->mutable_tankskin());
}
curr_weapon->ToPB(p->mutable_weapon());
#if 0
p->set_energy_shield(energy_shield);