From d987b1143bdb37008d0cb76698314044ba65f1a0 Mon Sep 17 00:00:00 2001 From: xichaoyin Date: Fri, 5 Jan 2024 21:21:03 +0800 Subject: [PATCH] fix: bug --- src/api_s2c/heroskin/ApiUplv.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api_s2c/heroskin/ApiUplv.ts b/src/api_s2c/heroskin/ApiUplv.ts index b07f8c1..ded894a 100644 --- a/src/api_s2c/heroskin/ApiUplv.ts +++ b/src/api_s2c/heroskin/ApiUplv.ts @@ -11,7 +11,7 @@ export default async function (call: ApiCall) { } let cur_lv = skin[call.req.skid]; - let skinconf = G.gc.heroSkin[skin.skid]; + let skinconf = G.gc.heroSkin[call.req.skid]; let need = []; for (let i = 0; i < call.req.lv; i++) {