Use 'new' expression in places where the type is evident for the engine (#1415)

Co-authored-by: Pieter-Jan Briers <pieterjan.briers+git@gmail.com>
This commit is contained in:
DrSmugleaf
2020-11-26 00:16:55 +01:00
committed by GitHub
co-authored by Pieter-Jan Briers
parent e82a83223f
commit b8e5b47e7a
242 changed files with 1171 additions and 1174 deletions
@@ -22,10 +22,10 @@ namespace Robust.Client.GameObjects.EntitySystems
[Dependency] private readonly IMapManagerInternal _mapManager = default!;
private readonly Dictionary<MapId, MapTrees> _mapTrees = new Dictionary<MapId, MapTrees>();
private readonly Dictionary<MapId, MapTrees> _mapTrees = new();
private readonly List<SpriteComponent> _spriteQueue = new List<SpriteComponent>();
private readonly List<PointLightComponent> _lightQueue = new List<PointLightComponent>();
private readonly List<SpriteComponent> _spriteQueue = new();
private readonly List<PointLightComponent> _lightQueue = new();
internal DynamicTree<SpriteComponent> GetSpriteTreeForMap(MapId map)
{