Fix issue where round could reset all job priorities to high (#24340)

* Update job priorities when job requirements are getting updated

* Sort jobs by weight and then by the name

* Sort departments too
This commit is contained in:
Kot
2024-01-21 02:03:10 +04:00
committed by GitHub
parent 0312196887
commit 4f307a49be
3 changed files with 26 additions and 3 deletions

View File

@@ -11,6 +11,7 @@
id: Civilian
description: department-Civilian-description
color: "#9FED58"
weight: -10
roles:
- Bartender
- Borg
@@ -44,6 +45,7 @@
- ResearchDirector
- Quartermaster
primary: false
weight: 100
- type: department
id: Engineering
@@ -71,6 +73,7 @@
id: Security
description: department-Security-description
color: "#DE3A3A"
weight: 20
roles:
- HeadOfSecurity
- SecurityCadet
@@ -91,6 +94,7 @@
id: Specific
description: department-Specific-description
color: "#9FED58"
weight: 10
roles:
- Boxer
- Reporter