hotfix
This commit is contained in:
parent
ef8a1f788e
commit
aa0068c88c
|
|
@ -9960,6 +9960,7 @@
|
||||||
else { changePixel(pixel, elem2); }
|
else { changePixel(pixel, elem2); }
|
||||||
}
|
}
|
||||||
if (r.func) { r.func(pixel,pixel) }
|
if (r.func) { r.func(pixel,pixel) }
|
||||||
|
if (r.color2) { pixel.color = pixelColorPick(pixel,r.color2) }
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
ignore: ["sun"],
|
ignore: ["sun"],
|
||||||
|
|
@ -15520,7 +15521,7 @@ window.onload = function() {
|
||||||
return elements[e].excludeRandom != true && elements[e].category != "tools" && !elements[e].tool;
|
return elements[e].excludeRandom != true && elements[e].category != "tools" && !elements[e].tool;
|
||||||
});
|
});
|
||||||
gameCanvas.addEventListener("mousedown", mouseClick);
|
gameCanvas.addEventListener("mousedown", mouseClick);
|
||||||
gameCanvas.addEventListener("mousedown", function(){
|
gameCanvas.addEventListener("mousedown", function(e){
|
||||||
if (elements[currentElement] && elements[currentElement].onMouseDown) {
|
if (elements[currentElement] && elements[currentElement].onMouseDown) {
|
||||||
elements[currentElement].onMouseDown(e);
|
elements[currentElement].onMouseDown(e);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue