From d4470568ec98fa680f0ea51591fe56874844af64 Mon Sep 17 00:00:00 2001 From: Alexis Faizeau Date: Fri, 29 Oct 2021 23:16:36 +0200 Subject: [PATCH] Fix change layer api functions --- front/src/Api/iframe/room.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); }