Merge pull request #216 from JustAGenericUsername/main

hopefully this works (it did)
This commit is contained in:
slweeb 2024-01-02 18:41:37 -05:00 committed by GitHub
commit 5755581dee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1480,7 +1480,7 @@ elements.mixer = {
var coord = squareCoords[i];
var x = pixel.x+coord[0];
var y = pixel.y+coord[1];
if (!isEmpty(x,y)) {
if (!isEmpty(x,y, true) && !elements[pixelMap[x][y].element].noMix) {
var otherPixel = pixelMap[x][y];
pixel.mixList.push(otherPixel);
}