lint fixes

This commit is contained in:
arp 2020-10-09 17:14:03 +02:00
parent f550c5a775
commit 032facb75f
6 changed files with 6 additions and 7 deletions

View file

@ -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);

View file

@ -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 => {

View file

@ -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});
}