fix
This commit is contained in:
parent
99a3fade00
commit
5e30c3e48a
@ -103,11 +103,12 @@ class Evolution extends Arrangement {
|
||||
amount -= this.productsAmount[this.productIndex];
|
||||
}
|
||||
const [x, y] = i2gc(this.productIndex++);
|
||||
return {
|
||||
product: Knowledge.semanticNetwork.findProductByName(this.population[this.populationIndex].products[this.productIndex]),
|
||||
const product = Knowledge.semanticNetwork.findProductByName(this.population[this.populationIndex].products[this.productIndex]);
|
||||
return product && {
|
||||
product,
|
||||
amount,
|
||||
x, y
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user