Allow to put separate charges into citadel cargo

This commit is contained in:
DarkPhoenix
2019-12-27 12:39:37 +03:00
parent e13125b174
commit 717303a72f

View File

@@ -19,8 +19,8 @@ class AddToCargo(ContextMenuSingle):
sFit = Fit.getInstance()
fitID = self.mainFrame.getActiveFit()
fit = sFit.getFit(fitID)
# Make sure context menu registers in the correct view
if not fit or fit.isStructure:
if not fit or (fit.isStructure and mainItem.category.ID != 8):
return False
return True