Merge branch 'develop' into pag-back

This commit is contained in:
tamaina 2023-07-17 07:29:32 +00:00
commit b330ede502
92 changed files with 3176 additions and 1027 deletions

View file

@ -132,9 +132,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();
}