This commit is contained in:
aozhiwei 2023-07-21 13:39:07 +08:00
parent f98b183e37
commit 9eab86b9da

View File

@ -904,10 +904,6 @@ void BattleDataContext::ForceInit(long long hero_uniid,
weapon2_ability_->weapon_uniid = weapon2_uniid;
weapon2_ability_->weapon_meta = weapon2_meta;
}
auto match_conf = owner_.Get()->room->GetRankMatchConf();
if (owner_.Get()->IsAndroid() && match_conf) {
}
}
void BattleDataContext::Init(Creature* c)
@ -942,6 +938,10 @@ void BattleDataContext::Init(Creature* c)
spec_weapon.ammo = spec_weapon.GetClipVolume(c);
}
}
}
auto match_conf = owner_.Get()->room->GetRankMatchConf();
if (owner_.Get()->IsAndroid() && match_conf) {
}
c->NetInitOk();
}