fix client prediction
This commit is contained in:
parent
cc9d36e056
commit
fae1cef617
|
@ -77,7 +77,7 @@ export function receivePixelUpdate(
|
|||
&& predPxl[2] === offset
|
||||
) {
|
||||
if (predPxl[4] === color) {
|
||||
clientPredictions.splice(i, 1);
|
||||
clientPredictions.splice(p, 1);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user