Fixing use const instead of let
This commit is contained in:
parent
54f2518b5e
commit
8348d13bfe
17 changed files with 116 additions and 116 deletions
|
@ -248,7 +248,7 @@ export class Connection implements ConnectionInterface {
|
|||
if(!this.socket){
|
||||
return;
|
||||
}
|
||||
let point = new Point(x, y, direction, moving);
|
||||
const point = new Point(x, y, direction, moving);
|
||||
this.lastPositionShared = point;
|
||||
this.getSocket().emit(EventMessage.USER_POSITION, point);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue