Fix bug in GasTileOverlay state logic (#14071)

This commit is contained in:
Leon Friedrich
2023-02-13 15:39:21 +13:00
committed by GitHub
parent 69ba0ce120
commit 210677ba4e

View File

@@ -354,7 +354,7 @@ namespace Content.Server.Atmos.EntitySystems
return; return;
// Should this be a full component state or a delta-state? // Should this be a full component state or a delta-state?
if (args.FromTick <= component.CreationTick && args.FromTick <= component.ForceTick) if (args.FromTick <= component.CreationTick || args.FromTick <= component.ForceTick)
{ {
args.State = new GasTileOverlayState(component.Chunks); args.State = new GasTileOverlayState(component.Chunks);
return; return;