This commit is contained in:
blitzmann
2015-01-08 15:04:22 -05:00
parent 2a391fa38b
commit 059af217aa
2 changed files with 2 additions and 2 deletions

View File

@@ -742,7 +742,7 @@ class Fit(object):
fit = eos.db.getFit(fitID)
for attr in ("em", "thermal", "kinetic", "explosive"):
setattr(dp, "%sAmount" % attr, ammo.getAttribute("%sDamage" % attr))
setattr(dp, "%sAmount" % attr, ammo.getAttribute("%sDamage" % attr) or 0)
fit.damagePattern = dp
self.recalc(fit)