fix bug that was causing empty pet paws to appear for rare mounts

This commit is contained in:
Alice Harris
2014-11-10 06:00:01 +10:00
parent 00b9e0d6ac
commit f80da293ce
-2
View File
@@ -54,8 +54,6 @@ script(type='text/ng-template', id='partials/options.inventory.mounts.html')
each t,k in env.Content.specialMounts
- var animal = k.split('-')[0], color = k.split('-')[1]
button(ng-if='user.items.mounts["#{animal}-#{color}"]', class="pet-button Mount_Head_#{animal}-#{color}", ng-class='{active: user.items.currentMount == "#{animal}-#{color}"}', ng-click='chooseMount("#{animal}", "#{color}")', popover=env.t(t), popover-trigger='mouseenter', popover-placement='bottom')
button(class="pet-button pet-not-owned", ng-hide='user.items.mounts["#{mount}"]')
.PixelPaw
script(type='text/ng-template', id='partials/options.inventory.pets.html')
.container-fluid