We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 553fe95 commit c603dabCopy full SHA for c603dab
client/src/templates/Challenges/components/scene/scene.tsx
@@ -127,7 +127,7 @@ export function Scene({
127
// TODO: if we manage the playing state in another module, we should not
128
// need the early return here. It should not be possible for this to be
129
// called at all if the scene is already playing.
130
- if (isPlaying) return;
+ if (isPlaying || !sceneIsReady) return;
131
setIsPlaying(true);
132
setShowDialogue(true);
133
@@ -240,6 +240,7 @@ export function Scene({
240
isPlaying,
241
duration,
242
sceneSubject,
243
+ sceneIsReady,
244
commands,
245
audio,
246
hasTimestamps,
0 commit comments