Properly handle projecting an abyssal module (we now copy modules instead of using the same item ID)

This commit is contained in:
blitzmann
2018-06-17 00:04:34 -04:00
parent 710739696a
commit d4dba99363
2 changed files with 5 additions and 2 deletions

View File

@@ -109,7 +109,7 @@ class ProjectedView(d.Display):
dstRow, _ = self.HitTest((x, y))
# Gather module information to get position
module = fit.modules[int(data[1])]
sFit.project(fit.ID, module.item.ID)
sFit.project(fit.ID, module)
wx.PostEvent(self.mainFrame, GE.FitChanged(fitID=fit.ID))
elif data[0] == "market":
sFit = Fit.getInstance()