Style cleanup

This commit is contained in:
Deukhoofd committed 2025-03-02 17:19:57 +01:00
1 parent c0bc905c46
commit 284ab3079c
175 files changed
+588 -650

No files matched your search

+2 -5
View File
@@ -27,7 +27,7 @@ public interface IScriptSet : IEnumerable<ScriptContainer>
/// Gets a script from the set using its unique name.
/// </summary>
ScriptContainer? Get(StringKey scriptKey);
/// <summary>
/// Gets a script from the set using its type.
/// </summary>
@@ -155,8 +155,5 @@ public class ScriptSet : IScriptSet
/// <inheritdoc />
public IEnumerable<StringKey> GetScriptNames() =>
_scripts
.Select(x => x.Script)
.WhereNotNull()
.Select(s => s.Name);
_scripts.Select(x => x.Script).WhereNotNull().Select(s => s.Name);
}