Re-use atmos queues (#21803)
This commit is contained in:
@@ -65,22 +65,22 @@ namespace Content.Server.Atmos.Components
|
||||
public readonly HashSet<Entity<AtmosDeviceComponent>> AtmosDevices = new();
|
||||
|
||||
[ViewVariables]
|
||||
public Queue<TileAtmosphere> CurrentRunTiles = new();
|
||||
public readonly Queue<TileAtmosphere> CurrentRunTiles = new();
|
||||
|
||||
[ViewVariables]
|
||||
public Queue<ExcitedGroup> CurrentRunExcitedGroups = new();
|
||||
public readonly Queue<ExcitedGroup> CurrentRunExcitedGroups = new();
|
||||
|
||||
[ViewVariables]
|
||||
public Queue<IPipeNet> CurrentRunPipeNet = new();
|
||||
public readonly Queue<IPipeNet> CurrentRunPipeNet = new();
|
||||
|
||||
[ViewVariables]
|
||||
public Queue<Entity<AtmosDeviceComponent>> CurrentRunAtmosDevices = new();
|
||||
public readonly Queue<Entity<AtmosDeviceComponent>> CurrentRunAtmosDevices = new();
|
||||
|
||||
[ViewVariables]
|
||||
public readonly HashSet<Vector2i> InvalidatedCoords = new(1000);
|
||||
|
||||
[ViewVariables]
|
||||
public Queue<Vector2i> CurrentRunInvalidatedCoordinates = new();
|
||||
public readonly Queue<Vector2i> CurrentRunInvalidatedCoordinates = new();
|
||||
|
||||
[ViewVariables]
|
||||
public int InvalidatedCoordsCount => InvalidatedCoords.Count;
|
||||
|
||||
Reference in New Issue
Block a user