Exclude smoke from mix

because it's annoying when i'm mixing a molten thing for alloying and the fire turns to smoke and turns my alloy into a cloud of metal "gas"
This commit is contained in:
Lily-129 2022-01-20 20:26:31 -05:00 committed by GitHub
parent 6059c71e52
commit 2b0bbd2689
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -4862,7 +4862,7 @@
else if (currentElement == "mix") { else if (currentElement == "mix") {
if (!isEmpty(x,y,true)) { if (!isEmpty(x,y,true)) {
var pixel = pixelMap[x][y]; var pixel = pixelMap[x][y];
if (pixel.element != "fire" || shiftDown) { if (pixel.element != "fire" & pixel.element != "smoke" || shiftDown) {
mixList.push(pixel); mixList.push(pixel);
} }
} }