Fixed not showing locked items in inventory modal.

This commit is contained in:
Nick Winter 2014-11-30 19:45:40 -08:00
parent 29694e2973
commit 748fcf2a65

View file

@ -95,7 +95,7 @@ module.exports = class InventoryModal extends ModalView
null # Don't put into a collection null # Don't put into a collection
else if locked and item.get('slug') isnt 'simple-boots' else if locked and item.get('slug') isnt 'simple-boots'
item.classes.push 'locked' item.classes.push 'locked'
if item.isSilhouettedItem or not item.get('gems') if item.isSilhouettedItem() or not item.get('gems')
# Don't even load/show these--don't add to a collection. (Bandwidth optimization.) # Don't even load/show these--don't add to a collection. (Bandwidth optimization.)
null null
else else