From 5257b0a51db8b4d80534afd5ade1b1553a7a59e2 Mon Sep 17 00:00:00 2001 From: DarkPhoenix Date: Sat, 4 Sep 2010 03:42:24 +0400 Subject: [PATCH] Use 4th precision for cpu and pg as for the most important fitting attributes --- gui/statsPane.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gui/statsPane.py b/gui/statsPane.py index c45bf8119..5379b2346 100644 --- a/gui/statsPane.py +++ b/gui/statsPane.py @@ -56,10 +56,10 @@ class StatsPane(wx.Panel): ("label%sTotalLauncherHardpoints", lambda: fit.ship.getModifiedItemAttr('launcherSlotsLeft'), 0, 0, 0), ("label%sUsedCalibrationPoints", lambda: fit.calibrationUsed, 0, 0, 0), ("label%sTotalCalibrationPoints", lambda: fit.ship.getModifiedItemAttr('upgradeCapacity'), 0, 0, 0), - ("label%sUsedPg", lambda: fit.pgUsed, 3, 0, 9), - ("label%sUsedCpu", lambda: fit.cpuUsed, 3, 0, 9), - ("label%sTotalPg", lambda: fit.ship.getModifiedItemAttr("powerOutput"), 3, 0, 9), - ("label%sTotalCpu", lambda: fit.ship.getModifiedItemAttr("cpuOutput"), 3, 0, 9), + ("label%sUsedPg", lambda: fit.pgUsed, 4, 0, 9), + ("label%sUsedCpu", lambda: fit.cpuUsed, 4, 0, 9), + ("label%sTotalPg", lambda: fit.ship.getModifiedItemAttr("powerOutput"), 4, 0, 9), + ("label%sTotalCpu", lambda: fit.ship.getModifiedItemAttr("cpuOutput"), 4, 0, 9), ("label%sVolleyTotal", lambda: fit.weaponVolley, 3, 0, 9), ("label%sDpsTotal", lambda: fit.totalDPS, 3, 0, 9), ("label%sCapacitorCapacity", lambda: fit.ship.getModifiedItemAttr("capacitorCapacity"), 3, 0, 9),