feat(event): 10th Birthday Bash

with @CuriousMagpie and @phillipthelen
This commit is contained in:
SabreCat
2023-01-20 16:14:33 -06:00
parent a8cb303f46
commit e5bbde7e97
64 changed files with 2185 additions and 235 deletions

View File

@@ -251,9 +251,10 @@ export default async function unlock (user, req = {}, analytics) {
return invalidSet(req);
}
cost = getIndividualItemPrice(setType, item, req);
unlockedAlready = alreadyUnlocked(user, setType, firstPath);
if (!unlockedAlready) {
cost = getIndividualItemPrice(setType, item, req);
}
// Since only an item is being unlocked here,
// remove all the other items from the set