From e7373476a7195a5b920e64c21b44fe7f4fb39855 Mon Sep 17 00:00:00 2001 From: O-01-67 <68935009+O-01-67@users.noreply.github.com> Date: Sat, 8 Oct 2022 17:55:20 -0400 Subject: [PATCH] disable head panic debugging --- mods/human_edit.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mods/human_edit.js b/mods/human_edit.js index b0b490a8..5d35582a 100644 --- a/mods/human_edit.js +++ b/mods/human_edit.js @@ -257,11 +257,11 @@ if(enabledMods.includes(onTryMoveIntoMod)) { }; elements.head.tick = function(pixel) { //debugging: display panic through color and temp - pixel.temp = (pixel.panic * 100); + /*pixel.temp = (pixel.panic * 100); var spookyColor = Math.min(pixel.panic,1) * 255; var spookyColor2 = 255 - Math.max(pixel.panic-1, 0); - pixel.color = `rgb(${spookyColor},${spookyColor2},0)`; - //doHeat(pixel); + pixel.color = `rgb(${spookyColor},${spookyColor2},0)`;*/ + doHeat(pixel); doBurning(pixel); doElectricity(pixel); if (pixel.dead) {