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.
This commit is contained in:
Corollax
2010-10-26 09:45:16 -05:00
parent 40bd542010
commit 9eca91f87b

View File

@@ -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),