fixed the birth distance issue

This commit is contained in:
MaxRobinsonTheGreat
2020-08-04 19:17:37 -06:00
parent f3fc6813a0
commit 0d3a98925b
4 changed files with 5 additions and 4 deletions

View File

@@ -62,6 +62,7 @@ class WorldEnvironment extends Environment{
addOrganism(organism) {
organism.updateGrid();
console.log(organism.birth_distance);
this.total_mutability += organism.mutability;
this.organisms.push(organism);
if (organism.cells.length > this.largest_cell_count)