Redo fix for 2176

This commit is contained in:
DarkPhoenix
2020-04-25 15:14:27 +03:00
parent c46a59e3b1
commit 36fd4aeaff

View File

@@ -1028,7 +1028,7 @@ class Fit:
def clearTail(self):
tailPositions = {}
for mod in self.modules:
for mod in reversed(self.modules):
if not mod.isEmpty:
break
tailPositions[self.modules.index(mod)] = mod.slot