Merge tag '13.14.1' into merge-upstream

This commit is contained in:
まっちゃとーにゅ 2023-07-23 03:08:40 +09:00
commit 72244c7ce6
No known key found for this signature in database
GPG key ID: 6AFBBF529601C1DB
560 changed files with 12755 additions and 8764 deletions

View file

@ -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();
}