Always show system-wide effect beacon on top

This commit is contained in:
DarkPhoenix
2019-04-13 02:52:59 +03:00
parent aa9f16d3ad
commit 1733d6abb8
2 changed files with 3 additions and 1 deletions

View File

@@ -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

View File

@@ -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):