exclude antarctica from stats
This commit is contained in:
parent
7cc5102de5
commit
2cec2e728f
|
@ -343,7 +343,9 @@ export async function drawByCoords(
|
||||||
setPixelByCoords(canvasId, color, x, y, z);
|
setPixelByCoords(canvasId, color, x, y, z);
|
||||||
|
|
||||||
user.setWait(waitLeft, canvasId);
|
user.setWait(waitLeft, canvasId);
|
||||||
if (canvas.ranked) {
|
/* hardcode to not count pixels in antarctica */
|
||||||
|
// eslint-disable-next-line eqeqeq
|
||||||
|
if (canvas.ranked && (canvasId != 0 || y < 14450)) {
|
||||||
user.incrementPixelcount();
|
user.incrementPixelcount();
|
||||||
}
|
}
|
||||||
return {
|
return {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user