mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-23 23:58:02 -05:00
Fixed not showing locked items in inventory modal.
This commit is contained in:
parent
29694e2973
commit
748fcf2a65
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ module.exports = class InventoryModal extends ModalView
|
|||
null # Don't put into a collection
|
||||
else if locked and item.get('slug') isnt 'simple-boots'
|
||||
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.)
|
||||
null
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue