Fix gas tile overlays (#17397)
This commit is contained in:
@@ -307,7 +307,7 @@ namespace Content.Server.Atmos.EntitySystems
|
||||
{
|
||||
// Not all grids have atmospheres.
|
||||
if (!TryComp(grid, out GasTileOverlayComponent? overlay))
|
||||
return;
|
||||
continue;
|
||||
|
||||
List<GasOverlayChunk> 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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user