sort doors on set
This commit is contained in:
parent
2e0004bfcb
commit
a0268f52b9
1 changed files with 4 additions and 1 deletions
|
@ -45,5 +45,8 @@ async def put_doors(
|
|||
Türchen setzen
|
||||
"""
|
||||
|
||||
cfg.puzzle.doors = doors
|
||||
cfg.puzzle.doors = sorted(
|
||||
doors,
|
||||
key=lambda door: door.day,
|
||||
)
|
||||
await set_config(cfg)
|
||||
|
|
Loading…
Reference in a new issue