From 6d5f64fc02727105fe61b8bb47f5193c3c2a5f9a Mon Sep 17 00:00:00 2001 From: cncfanatics Date: Fri, 3 Sep 2010 12:12:22 +0200 Subject: [PATCH] More unit tweaks --- gui/statsPane.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gui/statsPane.py b/gui/statsPane.py index b58b0404a..c3750fdcd 100644 --- a/gui/statsPane.py +++ b/gui/statsPane.py @@ -168,11 +168,11 @@ class StatsPane(wx.Panel): lbl = getattr(self, "labelResistance%sEhp" % tankType.capitalize()) if ehp is not None: total += ehp[tankType] - lbl.SetLabel(shorten(ehp[tankType], 1)) + lbl.SetLabel(shorten(ehp[tankType], 2)) else: lbl.SetLabel("0") - self.labelEhp.SetLabel(shorten(total, 1)) + self.labelEhp.SetLabel(shorten(total, 2)) damagePattern = fit.damagePattern if fit is not None else None for damageType in ("em", "thermal", "kinetic", "explosive"):