From 683ad3802fd107b32d8e4d758ec686e24838fb41 Mon Sep 17 00:00:00 2001 From: DarkPhoenix Date: Tue, 25 Aug 2020 00:46:51 +0300 Subject: [PATCH] Unmutate destination module when moving from cargo --- gui/fitCommands/gui/localModuleCargo/cargoToLocalModule.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gui/fitCommands/gui/localModuleCargo/cargoToLocalModule.py b/gui/fitCommands/gui/localModuleCargo/cargoToLocalModule.py index 95c69232e..a60dff3f1 100644 --- a/gui/fitCommands/gui/localModuleCargo/cargoToLocalModule.py +++ b/gui/fitCommands/gui/localModuleCargo/cargoToLocalModule.py @@ -63,8 +63,8 @@ class GuiCargoToLocalModuleCommand(wx.Command): dstModSlot = dstMod.slot if self.srcCargoItemID == dstModItemID: return False - # To keep all old item properties, copy them over from old module - newModInfo = ModuleInfo.fromModule(dstMod) + # To keep all old item properties, copy them over from old module, except for mutations + newModInfo = ModuleInfo.fromModule(dstMod, unmutate=True) newModInfo.itemID = self.srcCargoItemID if dstMod.isEmpty: newCargoModItemID = None