From 953912b8924769abb8b06a8e1b7c9e40cc378569 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20N=C3=A9grier?= Date: Thu, 24 Sep 2020 17:52:12 +0200 Subject: [PATCH] Fix style --- back/src/Controller/IoSocketController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/back/src/Controller/IoSocketController.ts b/back/src/Controller/IoSocketController.ts index e7305d15..ca83a79e 100644 --- a/back/src/Controller/IoSocketController.ts +++ b/back/src/Controller/IoSocketController.ts @@ -470,7 +470,7 @@ export class IoSocketController { subMessage.setItemeventmessage(itemEventMessage); // Let's send the event without using the SocketIO room. - for (let user of world.getUsers().values()) { + for (const user of world.getUsers().values()) { const client = this.searchClientByIdOrFail(user.id); //client.emit(SocketIoEvent.ITEM_EVENT, itemEvent); emitInBatch(client, SocketIoEvent.ITEM_EVENT, subMessage);