diff --git a/src/util/orderUtil.js b/src/util/orderUtil.js index 6396d46..0b6d77e 100644 --- a/src/util/orderUtil.js +++ b/src/util/orderUtil.js @@ -30,6 +30,7 @@ export function getIncorrectPixels(client) { const black = (currentR === 0 && currentG === 0 && currentB === 0); if ((r === 255 && g === 255 && b === 255) && !black) nonWhiteCount++; + const reset = (((r === 255 && g === 255 && b === 255) && !black)); let priority = getPriority(orderPriority.data[i], orderPriority.data[i + 1], orderPriority.data[i + 2], orderPriority.data[i + 3]); priority += Math.floor(Math.random() * 10_000); // increase randomness