This commit is contained in:
mengxinzxz 2024-02-15 00:59:42 +08:00
parent fd8bf5e159
commit 102099fd6a
1 changed files with 2 additions and 2 deletions

View File

@ -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);