feat(nds): add audio in all menus
This commit is contained in:
@@ -63,6 +63,9 @@ export const useAchievementsStore = defineStore("achievements", () => {
|
||||
|
||||
storage.value.unlocked.push(name);
|
||||
|
||||
const { assets } = useAssets();
|
||||
assets.audio.messageReceived.play(0.5);
|
||||
|
||||
if (storage.value.unlocked.length === ACHIEVEMENTS.length) {
|
||||
confetti.spawn();
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user