mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-24 04:02:40 -06:00
Fix merit bars
This commit is contained in:
parent
5b7770abee
commit
519a4fd111
1 changed files with 7 additions and 2 deletions
|
@ -62,8 +62,13 @@ class InventoryPage(ShtikerPage.ShtikerPage):
|
|||
if not self.meritBars:
|
||||
return
|
||||
|
||||
for meritBar in self.meritBars:
|
||||
meritBar.hide() if hide else meritBar.show()
|
||||
for i in xrange(len(self.meritBars)):
|
||||
meritBar = self.meritBars[i]
|
||||
|
||||
if CogDisguiseGlobals.isSuitComplete(base.localAvatar.cogParts, i):
|
||||
meritBar.hide() if hide else meritBar.show()
|
||||
else:
|
||||
meritBar.hide()
|
||||
|
||||
def updateMeritBars(self):
|
||||
if not self.meritBars:
|
||||
|
|
Loading…
Reference in a new issue