Update chem.js

This commit is contained in:
slweeb 2026-01-12 17:04:00 -05:00
parent fe7164aa9d
commit 39824f41d5
1 changed files with 1 additions and 1 deletions

View File

@ -1098,7 +1098,7 @@ elements.polytetrafluoroethylene = {
colored: false,
},
tick: function (pixel) {
if (!pixel.colored) {
if (!pixel.colored || !pixel.origColor) {
let rgb = elements.polytetrafluoroethylene.colorObject;
let coloroffset = Math.floor(Math.random() * (Math.random() > 0.5 ? -1 : 1) * Math.random() * 2);