fix pixels being lost on chunk crossings
This commit is contained in:
parent
0a4ad3a906
commit
723b9ce9ac
|
@ -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({
|
||||
|
|
Loading…
Reference in New Issue
Block a user