mirror of
https://github.com/Threnklyn/dungeon-sheets.git
synced 2026-06-07 05:03:31 +02:00
changes spell sorting to alphabetic
This commit is contained in:
@@ -71,9 +71,6 @@ class Spell:
|
||||
def __hash__(self):
|
||||
return 0
|
||||
|
||||
def __lt__(self, other):
|
||||
return (self.level, self.name) < (other.level, other.name)
|
||||
|
||||
@property
|
||||
def component_string(self):
|
||||
s = f'{", ".join(self.components)}'
|
||||
|
||||
Reference in New Issue
Block a user