From 9eca91f87bc0ee9d3ee93b022f29b1ce1f64f145 Mon Sep 17 00:00:00 2001 From: Corollax Date: Tue, 26 Oct 2010 09:45:16 -0500 Subject: [PATCH] Removed tracebacks on maxDronesActive calls Also fixed calibration, which was somehow broken by the same bug. I shudder to think of the tyrannical demonic logic necessary to tame THAT Gordion knot of understanding. --- gui/builtinStatsViews/resourcesViewFull.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/builtinStatsViews/resourcesViewFull.py b/gui/builtinStatsViews/resourcesViewFull.py index 560e11ebf..bc8d983d9 100644 --- a/gui/builtinStatsViews/resourcesViewFull.py +++ b/gui/builtinStatsViews/resourcesViewFull.py @@ -136,7 +136,7 @@ class ResourcesViewFull(StatsView): ("label%sUsedLauncherHardpoints", lambda: fit.getHardpointsUsed(Hardpoint.MISSILE), 0, 0, 0), ("label%sTotalLauncherHardpoints", lambda: fit.ship.getModifiedItemAttr('launcherSlotsLeft'), 0, 0, 0), ("label%sUsedDronesActive", lambda: fit.activeDrones, 0, 0, 0), - ("label%sTotalDronesActive", lambda: fit.ship.maxActiveDrones, 0, 0, 0), + ("label%sTotalDronesActive", lambda: fit.maxActiveDrones, 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, 4, 0, 9),