皮肤穿戴bug
This commit is contained in:
xichaoyin 2024-01-05 19:49:47 +08:00
parent 83485d0fd0
commit 12d092677a

View File

@ -16,7 +16,7 @@ export default async function (call: ApiCall<ReqWear, ResWear>) {
return;
}
let skinconf = G.gc.heroSkin[skin.skid];
let skinconf = G.gc.heroSkin[call.req.skid];
if (skinconf.heroid != hero.heroId) { // 皮肤不属于该英雄
call.error(lng.hero_21);
return;