mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-24 12:12:36 -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:
|
if not self.meritBars:
|
||||||
return
|
return
|
||||||
|
|
||||||
for meritBar in self.meritBars:
|
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()
|
meritBar.hide() if hide else meritBar.show()
|
||||||
|
else:
|
||||||
|
meritBar.hide()
|
||||||
|
|
||||||
def updateMeritBars(self):
|
def updateMeritBars(self):
|
||||||
if not self.meritBars:
|
if not self.meritBars:
|
||||||
|
|
Loading…
Reference in a new issue