fix: move sounds outside suspense
This commit is contained in:
@@ -93,6 +93,7 @@ export default function Fear() {
|
||||
<Hallway />
|
||||
<TheCreature />
|
||||
<Player />
|
||||
</Suspense>
|
||||
|
||||
<AmbientSound
|
||||
key="ambient-1"
|
||||
@@ -111,7 +112,6 @@ export default function Fear() {
|
||||
url='fear/snd/glitch.mp3'
|
||||
volume={1}
|
||||
/> : null}
|
||||
</Suspense>
|
||||
</Canvas>
|
||||
</>)
|
||||
}
|
||||
Reference in New Issue
Block a user