Copy spoolup settings of modules when copying fit

This commit is contained in:
DarkPhoenix
2019-04-17 22:26:41 +03:00
parent 3aede13136
commit f4f92b0821

View File

@@ -926,6 +926,8 @@ class Module(HandledItem, HandledCharge, ItemAttrShortcut, ChargeAttrShortcut):
copy = Module(self.item, self.baseItem, self.mutaplasmid)
copy.charge = self.charge
copy.state = self.state
copy.spoolType = self.spoolType
copy.spoolAmount = self.spoolAmount
for x in self.mutators.values():
Mutator(copy, x.attribute, x.value)