Updated Black Damp
It now takes the background color setting for its invisibility.
This commit is contained in:
parent
4ef62c8b45
commit
b0f1b5302f
|
|
@ -180,7 +180,9 @@ elements.black_damp = {
|
|||
"fire": { elem2: null },
|
||||
},
|
||||
tick: function(pixel) {
|
||||
pixel.color = "rgb(0,0,0)"
|
||||
backgroundColor = hexToRGB(settings.bg);
|
||||
rgbValue = "rgb("+backgroundColor.r+","+backgroundColor.g+","+backgroundColor.b+")";
|
||||
pixel.color = rgbValue;
|
||||
},
|
||||
hardness: 0.6,
|
||||
category: "gases",
|
||||
|
|
|
|||
Loading…
Reference in New Issue