GoL - Small fix

Remove redundant check
This commit is contained in:
Brandon502
2024-06-19 19:00:14 -04:00
parent e8e784ddcd
commit 4aee7eb6c6

View File

@@ -5316,7 +5316,7 @@ uint16_t mode_2Dgameoflife(void) { // Written by Ewoud Wijma, inspired by https:
SEGMENT.setPixelColorXY(x,y, dominantColor);
}
else { // blur dead cells
if (!cellValue && !overlayBG && !bgBlendMode) SEGMENT.setPixelColorXY(x,y, color_blend(SEGMENT.getPixelColorXY(x,y), bgColor, bgBlendMode ? bgBlur : blur));
if (!cellValue && !overlayBG && !bgBlendMode) SEGMENT.setPixelColorXY(x,y, color_blend(SEGMENT.getPixelColorXY(x,y), bgColor, blur));
}
}
//update cell values