feat(confetti): spawn small amount when an achievement is unlocked

This commit is contained in:
2026-01-31 20:49:23 +01:00
parent 8d467c48b0
commit 87da5753c6
2 changed files with 11 additions and 6 deletions

View File

@@ -62,6 +62,8 @@ export const useAchievementsStore = defineStore("achievements", () => {
if (storage.value.unlocked.length === ACHIEVEMENTS.length) {
confetti.spawn();
} else {
confetti.spawn(50, 350);
}
return true;