From 48a811cd0d071128253141dc5869efbda63f68aa Mon Sep 17 00:00:00 2001 From: John Date: Thu, 27 Aug 2015 20:42:24 +0300 Subject: [PATCH] Stats page format fix --- toontown/shtiker/StatPage.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/toontown/shtiker/StatPage.py b/toontown/shtiker/StatPage.py index a11b2939..a945aae3 100644 --- a/toontown/shtiker/StatPage.py +++ b/toontown/shtiker/StatPage.py @@ -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):