Fix net code
This commit is contained in:
parent
1f10b9c750
commit
a1fb6755c7
1 changed files with 408 additions and 236 deletions
|
|
@ -1,3 +1,4 @@
|
|||
import { performance } from 'perf_hooks';
|
||||
import { vec2 } from 'gl-matrix';
|
||||
import {
|
||||
CommandExecutors,
|
||||
|
|
@ -126,6 +127,7 @@ export class Player extends PlayerBase {
|
|||
this.objectsPreviouslyInViewArea
|
||||
.map((o) => o.getPropertyUpdates())
|
||||
.filter((u) => u) as Array<PropertyUpdatesForObject>,
|
||||
performance.now() / 1000,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue