Set owner before adding module to fit (new db structure needs it)

This commit is contained in:
DarkPhoenix
2011-06-15 00:06:28 +04:00
parent 38ec79f163
commit e36c614275

View File

@@ -304,7 +304,7 @@ class Fit(object):
fit.modules.freeSlot(m.getModifiedItemAttr("subSystemSlot"))
if m.fits(fit):
m.owner = fit
numSlots = len(fit.modules)
fit.modules.append(m)
if m.isValidState(State.ACTIVE):