Fix linting

This commit is contained in:
David Négrier 2020-06-19 18:24:32 +02:00
parent 2b820c7d56
commit 4496c49621

View File

@ -488,8 +488,8 @@ export class GameScene extends Phaser.Scene {
this.CurrentPlayer.moveUser(delta); this.CurrentPlayer.moveUser(delta);
// Let's handle all events // Let's handle all events
let event = null; while (this.pendingEvents.length !== 0) {
while (event = this.pendingEvents.dequeue()) { const event = this.pendingEvents.dequeue();
switch (event.type) { switch (event.type) {
case "InitUserPositionEvent": case "InitUserPositionEvent":
this.doInitUsersPosition(event.event); this.doInitUsersPosition(event.event);