Fixing use const instead of let
This commit is contained in:
parent
54f2518b5e
commit
8348d13bfe
17 changed files with 116 additions and 116 deletions
|
@ -17,7 +17,7 @@ export class PlayersPositionInterpolator {
|
|||
}
|
||||
|
||||
getUpdatedPositions(tick: number) : Map<string, HasMovedEvent> {
|
||||
let positions = new Map<string, HasMovedEvent>();
|
||||
const positions = new Map<string, HasMovedEvent>();
|
||||
this.playerMovements.forEach((playerMovement: PlayerMovement, userId: string) => {
|
||||
if (playerMovement.isOutdated(tick)) {
|
||||
//console.log("outdated")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue