mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2025-01-09 17:53:50 +00:00
Stats page format fix
This commit is contained in:
parent
b2688c9107
commit
48a811cd0d
1 changed files with 1 additions and 2 deletions
|
@ -9,7 +9,6 @@ class StatPage(ShtikerPage.ShtikerPage):
|
|||
ShtikerPage.ShtikerPage.__init__(self)
|
||||
self.dialog = None
|
||||
self.chunkCount = 11
|
||||
base.cr.lol = self
|
||||
|
||||
def load(self):
|
||||
guiButton = loader.loadModel('phase_3/models/gui/quit_button')
|
||||
|
@ -57,7 +56,7 @@ class StatPage(ShtikerPage.ShtikerPage):
|
|||
|
||||
def updateStats(self):
|
||||
stats = base.localAvatar.stats
|
||||
allStats = [TTLocalizer.Stats[i] % stats[i] for i in xrange(len(stats))]
|
||||
allStats = [TTLocalizer.Stats[i] % '{:,}'.format(stats[i]) for i in xrange(len(stats))]
|
||||
textChunks = list(self.cutToChunks(allStats, self.chunkCount))
|
||||
|
||||
for i, chunk in enumerate(textChunks):
|
||||
|
|
Loading…
Reference in a new issue