mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-15 21:57:22 +01:00
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:
@@ -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;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user