Use 'new' expression in places where the type is evident for content (#2590)
* Content.Client * Content.Benchmarks * Content.IntegrationTests * Content.Server * Content.Server.Database * Content.Shared * Content.Tests * Merge fixes Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
This commit is contained in:
@@ -31,10 +31,10 @@ namespace Content.Server.GameObjects.Components.Research
|
||||
public IReadOnlyList<TechnologyPrototype> UnlockedTechnologies => Database.Technologies;
|
||||
|
||||
[ViewVariables(VVAccess.ReadOnly)]
|
||||
public List<ResearchPointSourceComponent> PointSources { get; } = new List<ResearchPointSourceComponent>();
|
||||
public List<ResearchPointSourceComponent> PointSources { get; } = new();
|
||||
|
||||
[ViewVariables(VVAccess.ReadOnly)]
|
||||
public List<ResearchClientComponent> Clients { get; } = new List<ResearchClientComponent>();
|
||||
public List<ResearchClientComponent> Clients { get; } = new();
|
||||
|
||||
public int Point => _points;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user