feat(confetti): spawn small amount when an achievement is unlocked
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user