Don't show items in the seasonal shop that can't be purchased (#7859)

* making an api chnage so the seasonal shop will only return items that the user has never owned instead of all items the user doesn't currently own

* fixing commit so shop doesn't show already owned items

* recommenting out seasonal shop message as it's currently closed
This commit is contained in:
Travis
2016-09-13 06:15:11 -07:00
committed by Blade Barringer
parent f20a7b851f
commit 282822def6
2 changed files with 3 additions and 5 deletions
+1 -1
View File
@@ -231,7 +231,7 @@ shops.getSeasonalShopCategories = function getSeasonalShopCategories (user, lang
if (gear.index !== key) {
return false;
}
return user.items.gear.owned[gear.key] !== true;
return user.items.gear.owned[gear.key] === undefined;
}).where({index: key}).map(gear => {
return {
key: gear.key,