Removed buggy 096 code

This commit is contained in:
DoobieRalsei 2024-05-07 11:46:54 -07:00 committed by GitHub
parent e3a80c4081
commit 1d09c5e0ed
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 13 deletions

View File

@ -913,19 +913,6 @@ elements.shy_head = {
}
}
}
if (!isEmpty(pixel.x+2, pixel.y, true) && pixelMap[pixel.x+2][pixel.y].element == "head") {
var target = pixelMap[pixel.x+2][pixel.y];
if (target.dead) { // If target is dead, ignore
var target = null;
}
else { body.panic += 0.1; }
}
else { var target = null }
if (target.dead) { // If target is dead, ignore
var target = null;
body.panic -= 0.1;
}
// homeostasis
if (pixel.temp > 37) { pixel.temp -= 1; }
else if (pixel.temp < 37) { pixel.temp += 1; }