fix:
皮肤穿戴bug
This commit is contained in:
parent
83485d0fd0
commit
12d092677a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user