fix for fix for fix
This commit is contained in:
parent
6c45344475
commit
a11dd999df
@ -102,15 +102,17 @@ class Evolution extends Arrangement {
|
|||||||
continue;
|
continue;
|
||||||
amount -= this.productsAmount[this.productIndex];
|
amount -= this.productsAmount[this.productIndex];
|
||||||
}
|
}
|
||||||
const [x, y] = i2gc(this.productIndex++);
|
try {
|
||||||
const product = Knowledge.semanticNetwork.findProductByName(this.population[this.populationIndex].products[this.productIndex]);
|
const [x, y] = i2gc(this.productIndex++);
|
||||||
if (!product)
|
const product = Knowledge.semanticNetwork.findProductByName(this.population[this.populationIndex].products[this.productIndex]);
|
||||||
continue;
|
if (!product)
|
||||||
return {
|
continue;
|
||||||
product,
|
return {
|
||||||
amount,
|
product,
|
||||||
x, y
|
amount,
|
||||||
};
|
x, y
|
||||||
|
};
|
||||||
|
} catch (e) {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user