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) {
|
||||
tileBuffer = new Uint32Array(TILE_SIZE * TILE_SIZE);
|
||||
}
|
||||
const color = palette.abgr[curChunk[pxl]];
|
||||
const color = palette.abgr[curChunk[pxl] & 0x1F];
|
||||
tileBuffer[pxl] = color;
|
||||
}
|
||||
pxl += 1;
|
||||
|
|
Loading…
Reference in New Issue
Block a user