Client sept 12 (#9032)

* Removed load all members from challengs

* Fixed chalenge member modal loading

* Fixed party setting

* Fixed chat showing

* Fixed armoire drops

* Ignored lint issue

* Fixed buying old armoir items

* Fixed hatching

* Fixed pending damage
This commit is contained in:
Keith Holliday
2017-09-12 12:56:06 -05:00
committed by GitHub
parent 0c6540e6d8
commit e29c393629
9 changed files with 36 additions and 12 deletions

View File

@@ -92,6 +92,12 @@ shops.checkMarketGearLocked = function checkMarketGearLocked (user, items) {
if (!gear.locked && !availableGear.includes(gear.path)) {
gear.locked = true;
}
// @TODO: I'm not sure what the logic for locking is supposed to be
// But, I am pretty sure if we pin an armoire item, it needs to be unlocked
if (gear.klass === 'armoire') {
gear.locked = false;
}
}
};