Volume and pressure pump (#1955)

* PressurePump and VolumePump

* VolumePump fix

* PressurePump fix

* volume pump simplification

* Fixes GridAtmosphereComponent not updating pumps

Co-authored-by: py01 <pyronetics01@gmail.com>
This commit is contained in:
py01
2020-08-30 18:13:23 -06:00
committed by GitHub
parent 68ec6e6be5
commit 9d5278ab0d
6 changed files with 136 additions and 28 deletions

View File

@@ -755,7 +755,7 @@ namespace Content.Server.GameObjects.Components.Atmos
_currentRunPipeNetDevice = new Queue<PipeNetDeviceComponent>(_pipeNetDevices);
var number = 0;
while (_currentRunPipeNet.Count > 0)
while (_currentRunPipeNetDevice.Count > 0)
{
var device = _currentRunPipeNetDevice.Dequeue();
device.Update();