fix incremential tile creation when protected pixels got set
This commit is contained in:
parent
7214ae6128
commit
4b8bbf2716
|
@ -112,7 +112,7 @@ export async function incrementialBackupRedis(
|
||||||
if (!tileBuffer) {
|
if (!tileBuffer) {
|
||||||
tileBuffer = new Uint32Array(TILE_SIZE * TILE_SIZE);
|
tileBuffer = new Uint32Array(TILE_SIZE * TILE_SIZE);
|
||||||
}
|
}
|
||||||
const color = palette.abgr[curChunk[pxl]];
|
const color = palette.abgr[curChunk[pxl] & 0x1F];
|
||||||
tileBuffer[pxl] = color;
|
tileBuffer[pxl] = color;
|
||||||
}
|
}
|
||||||
pxl += 1;
|
pxl += 1;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user