tweaked variable

idk
This commit is contained in:
Lily-129 2022-02-05 20:39:03 -05:00 committed by GitHub
parent b0f1b5302f
commit 54bd1c7414
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -181,8 +181,8 @@ elements.black_damp = {
}, },
tick: function(pixel) { tick: function(pixel) {
backgroundColor = hexToRGB(settings.bg); backgroundColor = hexToRGB(settings.bg);
rgbValue = "rgb("+backgroundColor.r+","+backgroundColor.g+","+backgroundColor.b+")"; pixel.rgbValue = "rgb("+backgroundColor.r+","+backgroundColor.g+","+backgroundColor.b+")";
pixel.color = rgbValue; pixel.color = pixel.rgbValue;
}, },
hardness: 0.6, hardness: 0.6,
category: "gases", category: "gases",