]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix bug in GasTileOverlay state logic (#14071)
authorLeon Friedrich <60421075+ElectroJr@users.noreply.github.com>
Mon, 13 Feb 2023 02:39:21 +0000 (15:39 +1300)
committerGitHub <noreply@github.com>
Mon, 13 Feb 2023 02:39:21 +0000 (02:39 +0000)
Content.Server/Atmos/EntitySystems/GasTileOverlaySystem.cs

index 77b47811753d49c61f09517611cf3162e36964fd..70b145512d4551cfd711dff2658de3c15bb1a328 100644 (file)
@@ -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;