From 12d092677ab6dbd62e3e25da933a6cd81bbfb8f9 Mon Sep 17 00:00:00 2001 From: xichaoyin Date: Fri, 5 Jan 2024 19:49:47 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=9A=AE=E8=82=A4=E7=A9=BF=E6=88=B4bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api_s2c/heroskin/ApiWear.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api_s2c/heroskin/ApiWear.ts b/src/api_s2c/heroskin/ApiWear.ts index ed42a15..d8a4c56 100644 --- a/src/api_s2c/heroskin/ApiWear.ts +++ b/src/api_s2c/heroskin/ApiWear.ts @@ -16,7 +16,7 @@ export default async function (call: ApiCall) { 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;