Update genetics.js

This commit is contained in:
Nekonico 2024-10-08 11:45:54 -07:00 committed by GitHub
parent 96ed2e6a0a
commit 4537cc4d7d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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",