From b0f1b5302f0dabf4c3cb48885240dc7ff999390a Mon Sep 17 00:00:00 2001 From: Lily-129 <68935009+Lily-129@users.noreply.github.com> Date: Sat, 5 Feb 2022 20:37:34 -0500 Subject: [PATCH] Updated Black Damp It now takes the background color setting for its invisibility. --- mods/glenn_gases.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mods/glenn_gases.js b/mods/glenn_gases.js index 495f38a9..91dd298d 100644 --- a/mods/glenn_gases.js +++ b/mods/glenn_gases.js @@ -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",