mirror of
https://github.com/SabreTools/MPF.git
synced 2026-07-02 17:24:48 +00:00
Add ordering to disc or book type
This commit is contained in:
@@ -83,6 +83,7 @@
|
||||
- UMDs are Sony discs
|
||||
- Strip colons from Redumper disc key
|
||||
- Use `HashSet` for disc or book type
|
||||
- Add ordering to disc or book type
|
||||
|
||||
### 2.5 (2023-03-12)
|
||||
|
||||
|
||||
@@ -2675,7 +2675,7 @@ namespace MPF.Modules.DiscImageCreator
|
||||
|
||||
// Create the output string
|
||||
if (discTypeOrBookTypeSet.Any())
|
||||
discTypeOrBookType = string.Join(", ", discTypeOrBookTypeSet);
|
||||
discTypeOrBookType = string.Join(", ", discTypeOrBookTypeSet.OrderBy(s => s));
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user