From 102099fd6a3ce562e12208475c2ec7dfdbcd8ea5 Mon Sep 17 00:00:00 2001 From: mengxinzxz <2223529500@qq.com> Date: Thu, 15 Feb 2024 00:59:42 +0800 Subject: [PATCH] bugfix --- noname/game/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/noname/game/index.js b/noname/game/index.js index b262a9c2d..f8e339b0e 100644 --- a/noname/game/index.js +++ b/noname/game/index.js @@ -8429,8 +8429,8 @@ export class Game extends Uninstantable { const info = get.info(currentValue); if (info) { if (info.group) { - const adds = Array.isArray(info.group) ? info.group : [info.group]; - previousValue.push(adds.filter(i => lib.skill[i])); + const adds = (Array.isArray(info.group) ? info.group : [info.group]).filter(i => lib.skill[i]); + previousValue.push(...adds); } } else console.log(currentValue);