Update electricityTest.js

This commit is contained in:
slweeb 2024-03-21 19:22:37 -04:00
parent b075d412ef
commit ef8a1f788e
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ doElectricity = function (pixel) {
}
else if (elements[newPixel.element].insulate != true) { // Otherwise heat the pixel (Resistance simulation)
newPixel.temp += pixel.charge/4;
newPixel.chargeCD = 8;
if (con < 0.8) { newPixel.chargeCD = 8; }
pixelTempCheck(newPixel);
}
}