mirror of
https://github.com/exogen/t2-mapper.git
synced 2026-01-19 12:14:47 +00:00
Lower volume of non spatialized sfx
This commit is contained in:
parent
7a4792e4e8
commit
dd305f591d
|
|
@ -59,7 +59,7 @@ export function AudioEmitter({ object }: { object: ConsoleObject }) {
|
|||
sound.setVolume(volume);
|
||||
} else {
|
||||
sound = new Audio(audioListener);
|
||||
sound.setVolume(Math.min(volume, 0.5));
|
||||
sound.setVolume(Math.min(volume, 0.25));
|
||||
}
|
||||
|
||||
soundRef.current = sound;
|
||||
|
|
|
|||
Loading…
Reference in a new issue