Skip to content

Commit 81c99c7

Browse files
committed
fix: set properly bbbFactory state for mobile
1 parent e8f6935 commit 81c99c7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

play/src/front/Phaser/Game/GameMapPropertiesListener.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,9 @@ export class GameMapPropertiesListener {
212212
}
213213
}
214214

215+
inBbbStore.set(true);
216+
bbbFactory.setStopped(false);
217+
215218
let isMobile = isMediaBreakpointUp("md");
216219
if (isMobile) {
217220
let message = allProps.get(GameMapProperties.OPEN_WEBSITE_TRIGGER_MESSAGE);
@@ -237,8 +240,6 @@ export class GameMapPropertiesListener {
237240
userInputManager: this.scene.userInputManager,
238241
});
239242
} else {
240-
inBbbStore.set(true);
241-
bbbFactory.setStopped(false);
242243
bbbFactory
243244
.parametrizeMeetingId(newValue as string)
244245
.then((hashedMeetingId) => {

0 commit comments

Comments
 (0)