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:
parent
6059c71e52
commit
2b0bbd2689
|
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue