From 1d09c5e0edf16b28ba0fa1999f0e692f1a40b0a1 Mon Sep 17 00:00:00 2001 From: DoobieRalsei <163950752+DoobieRalsei@users.noreply.github.com> Date: Tue, 7 May 2024 11:46:54 -0700 Subject: [PATCH] Removed buggy 096 code --- mods/scp.js | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/mods/scp.js b/mods/scp.js index 0b0273ff..0345e2ba 100644 --- a/mods/scp.js +++ b/mods/scp.js @@ -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; }