Update genetics.js
This commit is contained in:
parent
96ed2e6a0a
commit
4537cc4d7d
|
|
@ -82,7 +82,6 @@ elements.organism = {
|
||||||
else if (pixel.vore < -8) {
|
else if (pixel.vore < -8) {
|
||||||
pixel.color = "#1CBC10"
|
pixel.color = "#1CBC10"
|
||||||
}
|
}
|
||||||
pixel.oldvore = pixel.vore
|
|
||||||
}
|
}
|
||||||
if (pixel.geneticCode < 11) {
|
if (pixel.geneticCode < 11) {
|
||||||
if (isEmpty(pixel.x, pixel.y+1)) {
|
if (isEmpty(pixel.x, pixel.y+1)) {
|
||||||
|
|
@ -1101,6 +1100,7 @@ elements.organism = {
|
||||||
}
|
}
|
||||||
pixel.age += 1
|
pixel.age += 1
|
||||||
}
|
}
|
||||||
|
pixel.oldvore = pixel.vore
|
||||||
},
|
},
|
||||||
tempHigh: 150,
|
tempHigh: 150,
|
||||||
stateHigh: "cooked_meat",
|
stateHigh: "cooked_meat",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue