mirror of
https://github.com/SabreTools/MPF.git
synced 2026-07-02 17:24:48 +00:00
Tweak Linq statement
This commit is contained in:
@@ -1049,9 +1049,9 @@ namespace MPF.Utilities
|
||||
// Join the output protections for writing
|
||||
string protections = string.Join(", ", found
|
||||
.Where(kvp => kvp.Value != null && kvp.Value.Any())
|
||||
.OrderBy(kvp => kvp.Value)
|
||||
.SelectMany(kvp => kvp.Value)
|
||||
.Distinct());
|
||||
.Distinct()
|
||||
.OrderBy(p => p));
|
||||
return (true, protections);
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
||||
Reference in New Issue
Block a user