Fix gas tile overlays (#17397)
This commit is contained in:
parent
b7ee34f5a7
commit
0bb9c6e6eb
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue