Update aChefsDream.js

This commit is contained in:
SquareScreamYT 2024-04-02 10:02:47 +08:00 committed by GitHub
parent e07ff23b65
commit 91479a3507
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 7 deletions

View File

@ -7081,13 +7081,6 @@ elements.food_coloring = {
changePixel(pixelMap[x][y], "food_coloring");
pixelMap[x][y].color = pixel.color
}
else {
if (pixelMap[x][y].element !== "food_coloring" || pixelMap[x][y].element !== "water" || pixelMap[x][y].element !== "salt_water" || pixelMap[x][y].element !== "sugar_water" || pixelMap[x][y].element !== "seltzer" || pixelMap[x][y].element !== "dirty_water" || pixelMap[x][y].element !== "pool_water")
pixelMap[x][y].color = pixel.color;
if (Math.random < 0.02) {
deletePixel(pixel.x,pixel.y)
}
}
}
}
},