fix pixels being lost on chunk crossings

This commit is contained in:
HF 2022-11-12 00:42:47 +01:00
parent 0a4ad3a906
commit 723b9ce9ac

View File

@ -207,7 +207,7 @@ class PixelTransferController {
p += 1;
}
this.clientPredictions = [];
this.clientPredictions.splice(p);
}
/*
@ -260,8 +260,8 @@ class PixelTransferController {
if (i === lastI && j === lastJ) {
/* append to last request in queue if same chunk */
lastReq.pixels.push([offset, color]);
return;
}
return;
}
pixelQueue.push({