mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-27 17:45:40 -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
|
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
|
||||||
|
|
Loading…
Reference in a new issue