feat: add ambient2, add keys to sounds

This commit is contained in:
2026-06-01 15:37:23 -03:00
parent 0d72d49d7b
commit cb15cc3d95
2 changed files with 8 additions and 0 deletions
Binary file not shown.
+8
View File
@@ -95,11 +95,19 @@ export default function Fear() {
<Player /> <Player />
<AmbientSound <AmbientSound
key="ambient-1"
url='fear/snd/ambience.mp3' url='fear/snd/ambience.mp3'
volume={isRustActive ? 0 : 1} volume={isRustActive ? 0 : 1}
/> />
<AmbientSound
key="ambient-2"
url='fear/snd/ambience2.mp3'
volume={isRustActive ? 1 : 0}
/>
{wasCaught ? <AmbientSound {wasCaught ? <AmbientSound
key="ambient-glitch"
url='fear/snd/glitch.mp3' url='fear/snd/glitch.mp3'
volume={1} volume={1}
/> : null} /> : null}