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:
@@ -33,7 +33,7 @@ namespace Content.Server.GameObjects.EntitySystems.StationEvents
|
||||
public StationEvent CurrentEvent { get; private set; }
|
||||
public IReadOnlyCollection<StationEvent> StationEvents => _stationEvents;
|
||||
|
||||
private readonly List<StationEvent> _stationEvents = new List<StationEvent>();
|
||||
private readonly List<StationEvent> _stationEvents = new();
|
||||
|
||||
private const float MinimumTimeUntilFirstEvent = 300;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user