bugfix
This commit is contained in:
parent
fd8bf5e159
commit
102099fd6a
|
@ -8429,8 +8429,8 @@ export class Game extends Uninstantable {
|
||||||
const info = get.info(currentValue);
|
const info = get.info(currentValue);
|
||||||
if (info) {
|
if (info) {
|
||||||
if (info.group) {
|
if (info.group) {
|
||||||
const adds = Array.isArray(info.group) ? info.group : [info.group];
|
const adds = (Array.isArray(info.group) ? info.group : [info.group]).filter(i => lib.skill[i]);
|
||||||
previousValue.push(adds.filter(i => lib.skill[i]));
|
previousValue.push(...adds);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else console.log(currentValue);
|
else console.log(currentValue);
|
||||||
|
|
Loading…
Reference in New Issue