Fix linting
This commit is contained in:
parent
2b820c7d56
commit
4496c49621
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user