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:
@@ -22,10 +22,10 @@ namespace Content.Client
|
||||
[Dependency] private readonly IResourceCache _resourceCache = default!;
|
||||
|
||||
[ViewVariables]
|
||||
private readonly Dictionary<Texture, ClickMap> _textureMaps = new Dictionary<Texture, ClickMap>();
|
||||
private readonly Dictionary<Texture, ClickMap> _textureMaps = new();
|
||||
|
||||
[ViewVariables] private readonly Dictionary<RSI, RsiClickMapData> _rsiMaps =
|
||||
new Dictionary<RSI, RsiClickMapData>();
|
||||
new();
|
||||
|
||||
public void PostInject()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user