hotfix
This commit is contained in:
parent
5bb14effd3
commit
3a4d719f23
11
index.html
11
index.html
|
|
@ -3251,13 +3251,14 @@ DO_TICK: function(pixel) {
|
|||
onPlace: function(pixel) {
|
||||
if (isEmpty(pixel.x, pixel.y+1)) {
|
||||
createPixel("body", pixel.x, pixel.y+1);
|
||||
pixel.element = "head";
|
||||
var color = pixel.color;
|
||||
changePixel(pixel,"head");
|
||||
pixel.color = color;
|
||||
}
|
||||
else if (isEmpty(pixel.x, pixel.y-1)) {
|
||||
createPixel("head", pixel.x, pixel.y-1);
|
||||
pixelMap[pixel.x][pixel.y-1].color = pixel.color;
|
||||
pixel.element = "body";
|
||||
pixel.color = pixelColorPick(pixel)
|
||||
changePixel(pixel,"body");
|
||||
}
|
||||
else {
|
||||
deletePixel(pixel.x, pixel.y);
|
||||
|
|
@ -12749,7 +12750,9 @@ if (langCode) {
|
|||
}
|
||||
delete pixel.origColor; // remove stain
|
||||
delete pixel.clone;
|
||||
delete pixel.glow;
|
||||
if (pixel.glow !== undefined) {
|
||||
delete pixel.glow;
|
||||
}
|
||||
if (pixel.r && !elementInfo.rotatable) {
|
||||
delete pixel.r;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -47,6 +47,7 @@ elements.soul = {
|
|||
}
|
||||
else if (Math.random() < 0.01) {
|
||||
pixel.glow = false;
|
||||
delete pixel.glow;
|
||||
}
|
||||
if (Math.random() < 0.0002 && isEmpty(pixel.x,pixel.y+1)) {
|
||||
createPixel("ectoplasm",pixel.x,pixel.y+1);
|
||||
|
|
|
|||
Loading…
Reference in New Issue