mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-04 02:57:08 +02:00
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:
co-authored by
Pieter-Jan Briers
parent
e82a83223f
commit
b8e5b47e7a
@@ -14,11 +14,11 @@ namespace Robust.Server.GameObjects.EntitySystems
|
||||
private const float MaxWindowRange = 2;
|
||||
private const float MaxWindowRangeSquared = MaxWindowRange * MaxWindowRange;
|
||||
|
||||
private readonly List<IPlayerSession> _sessionCache = new List<IPlayerSession>();
|
||||
private readonly List<IPlayerSession> _sessionCache = new();
|
||||
|
||||
// List of all bound user interfaces that have at least one player looking at them.
|
||||
[ViewVariables]
|
||||
private readonly List<BoundUserInterface> _activeInterfaces = new List<BoundUserInterface>();
|
||||
private readonly List<BoundUserInterface> _activeInterfaces = new();
|
||||
|
||||
/// <inheritdoc />
|
||||
public override void Initialize()
|
||||
|
||||
Reference in New Issue
Block a user