lint fixes
This commit is contained in:
parent
f550c5a775
commit
032facb75f
6 changed files with 6 additions and 7 deletions
|
@ -59,7 +59,7 @@ export class RoomConnection implements RoomConnection {
|
|||
url += '/room/'+roomId
|
||||
url += '?token='+(token ?encodeURIComponent(token):'');
|
||||
url += '&name='+encodeURIComponent(name);
|
||||
for (let layer of characterLayers) {
|
||||
for (const layer of characterLayers) {
|
||||
url += '&characterLayers='+encodeURIComponent(layer);
|
||||
}
|
||||
url += '&x='+Math.floor(position.x);
|
||||
|
|
|
@ -598,7 +598,6 @@ export class GameScene extends ResizableScene implements CenterListener {
|
|||
|
||||
this.scene.stop(this.scene.key);
|
||||
this.scene.remove(this.scene.key);
|
||||
window.removeEventListener('resize', this.onResizeCallback);
|
||||
})
|
||||
|
||||
connection.onActionableEvent((message => {
|
||||
|
|
|
@ -266,7 +266,7 @@ export class EnableCameraScene extends Phaser.Scene {
|
|||
mediaManager.stopCamera();
|
||||
mediaManager.stopMicrophone();
|
||||
|
||||
let {key, startLayerName} = await gameManager.loadStartingMap(this.scene);
|
||||
const {key, startLayerName} = await gameManager.loadStartingMap(this.scene);
|
||||
this.scene.start(key, {startLayerName});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue