feat: add era-based camp soundscapes
This commit is contained in:
@@ -380,9 +380,6 @@ export class SoundDirector {
|
||||
|
||||
private setLoopTargetVolume(channel: LoopChannel, volume: number) {
|
||||
channel.targetVolume = Number.isFinite(volume) ? Math.min(1, Math.max(0, volume)) : channel.defaultVolume;
|
||||
if (channel.current && !channel.transition.active) {
|
||||
channel.current.volume = channel.targetVolume;
|
||||
}
|
||||
}
|
||||
|
||||
private requestLoopChannel(channel: LoopChannel, key?: string) {
|
||||
|
||||
Reference in New Issue
Block a user