diff --git a/front/src/Api/iframe/room.ts b/front/src/Api/iframe/room.ts index cfa02807..5eeadffe 100644 --- a/front/src/Api/iframe/room.ts +++ b/front/src/Api/iframe/room.ts @@ -94,7 +94,7 @@ export class WorkadventureRoomCommands extends IframeApiContribution { let subject = enterLayerStreams.get(layerName); if (subject === undefined) { - subject = new Subject(); + subject = new Subject(); enterLayerStreams.set(layerName, subject); } @@ -104,7 +104,7 @@ export class WorkadventureRoomCommands extends IframeApiContribution { let subject = leaveLayerStreams.get(layerName); if (subject === undefined) { - subject = new Subject(); + subject = new Subject(); leaveLayerStreams.set(layerName, subject); }