Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
6370e88116 |
@ -37,6 +37,7 @@ export class UserShared {
|
||||
// else if (conf.cond[0] == 'time') return collection.active[fmtId] == -1 || collection.active[fmtId] > G.time;
|
||||
else if (conf.cond[0] == 'time') return conf.cond[1] == -1 || collection.active?.[fmtId] > G.time;
|
||||
else if (conf.cond[0] == 'model') return Object.values(collection.model).find(i => i.id == conf.cond[1]);
|
||||
else if (conf.cond[0] == 'heroskin') return conf.cond[1] in (collection.heroskin || {});
|
||||
else return false;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user