Fix a bug in the mini stats display

This commit is contained in:
cncfanatics
2010-08-29 21:25:15 +02:00
parent 918a8d5f87
commit 5b21379216

View File

@@ -177,6 +177,7 @@ class StatsPane(wx.Panel):
else:
lbl.SetLabel("0.0")
tank = fit.effectiveTank
maxTank = ("shieldPassive", fit.calculateShieldRecharge() if fit else 0)
for tankType in ("shield", "armor", "hull"):
if tank is not None: