Fix style

This commit is contained in:
David Négrier 2020-09-24 17:52:12 +02:00
parent ac80850335
commit 953912b892

View File

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