Merge tag '13.14.1' into merge-upstream
This commit is contained in:
commit
72244c7ce6
560 changed files with 12755 additions and 8764 deletions
|
@ -193,9 +193,7 @@ export function play(type: 'noteMy' | 'note' | 'antenna' | 'channel' | 'notifica
|
|||
}
|
||||
|
||||
export function playFile(file: string, volume: number) {
|
||||
const masterVolume = soundConfigStore.state.sound_masterVolume;
|
||||
if (masterVolume === 0) return;
|
||||
|
||||
const audio = setVolume(getAudio(file), volume);
|
||||
if (audio.volume === 0) return;
|
||||
audio.play();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue