refactor: collision

This commit is contained in:
cha0s 2021-02-11 15:20:55 -06:00
parent 85ac479506
commit a8ce85f1b2

View File

@ -181,7 +181,7 @@ export default (latus) => class EntityList extends decorate(JsonResource) {
for (let i = 0; i < candidates.length; ++i) {
const entity = candidates[i];
const clone = context.clone();
clone.add('entity', entity);
clone.add('query', entity);
if (!check(clone)) {
fails.push(entity);
}