From 0bb9c6e6eb03692fdf593414c00147c8d7bd4147 Mon Sep 17 00:00:00 2001 From: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Date: Sat, 17 Jun 2023 12:30:55 +1000 Subject: [PATCH] Fix gas tile overlays (#17397) --- Content.Server/Atmos/EntitySystems/GasTileOverlaySystem.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Content.Server/Atmos/EntitySystems/GasTileOverlaySystem.cs b/Content.Server/Atmos/EntitySystems/GasTileOverlaySystem.cs index b15ae04525..70117a4e40 100644 --- a/Content.Server/Atmos/EntitySystems/GasTileOverlaySystem.cs +++ b/Content.Server/Atmos/EntitySystems/GasTileOverlaySystem.cs @@ -307,7 +307,7 @@ namespace Content.Server.Atmos.EntitySystems { // Not all grids have atmospheres. if (!TryComp(grid, out GasTileOverlayComponent? overlay)) - return; + continue; List dataToSend = new(); ev.UpdatedChunks[grid] = dataToSend; @@ -322,7 +322,9 @@ namespace Content.Server.Atmos.EntitySystems if (previousChunks != null && previousChunks.Contains(index) && value.LastUpdate != curTick) + { continue; + } dataToSend.Add(value); }