Adv item search: fix mapped properties not working

This commit is contained in:
phantamanta44 2021-03-14 23:29:56 -05:00
parent 761d934b70
commit 40c2865a10

View file

@ -54,7 +54,7 @@ const itemQueryProps = (function() {
function map(names, comps, outType, f) {
return prop(names, outType, (i, ie) => {
const args = [];
for (let k = 0; k < comps.length; k++) args.push(comps[k](i, ie));
for (let k = 0; k < comps.length; k++) args.push(comps[k].resolve(i, ie));
return f.apply(null, args);
});
}