diff --git a/eos/effectHandlerHelpers.py b/eos/effectHandlerHelpers.py index 1c21cf101..94722aa85 100644 --- a/eos/effectHandlerHelpers.py +++ b/eos/effectHandlerHelpers.py @@ -116,6 +116,8 @@ class HandledList(list): list.remove(self, thing) def sort(self, *args, **kwargs): + # We need it here to prevent external users from accidentally sorting the list as alot of + # external logic relies on keeping modules at their places raise NotImplementedError diff --git a/gui/builtinAdditionPanes/projectedView.py b/gui/builtinAdditionPanes/projectedView.py index 7c0ce6295..720681e27 100644 --- a/gui/builtinAdditionPanes/projectedView.py +++ b/gui/builtinAdditionPanes/projectedView.py @@ -159,7 +159,7 @@ class ProjectedView(d.Display): @staticmethod def moduleSort(module): - return module.item.name + return not module.isExclusiveSystemEffect, module.item.name @staticmethod def fighterSort(fighter):