fix incremential tile creation when protected pixels got set

This commit is contained in:
HF 2020-01-13 04:35:46 +01:00
parent 7214ae6128
commit 4b8bbf2716

View File

@ -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;