From: Leon Friedrich <60421075+ElectroJr@users.noreply.github.com> Date: Mon, 13 Feb 2023 02:39:21 +0000 (+1300) Subject: Fix bug in GasTileOverlay state logic (#14071) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=210677ba4e6060290d73fe75cd8f4f5c114b81a3;p=space-station-14.git Fix bug in GasTileOverlay state logic (#14071) --- diff --git a/Content.Server/Atmos/EntitySystems/GasTileOverlaySystem.cs b/Content.Server/Atmos/EntitySystems/GasTileOverlaySystem.cs index 77b4781175..70b145512d 100644 --- a/Content.Server/Atmos/EntitySystems/GasTileOverlaySystem.cs +++ b/Content.Server/Atmos/EntitySystems/GasTileOverlaySystem.cs @@ -354,7 +354,7 @@ namespace Content.Server.Atmos.EntitySystems return; // 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); return;