]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Only hide ruins labels (#23925)
authormetalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Thu, 11 Jan 2024 12:56:07 +0000 (23:56 +1100)
committerGitHub <noreply@github.com>
Thu, 11 Jan 2024 12:56:07 +0000 (05:56 -0700)
Content.Server/Shuttles/Components/GridSpawnComponent.cs
Content.Server/Shuttles/Systems/ShuttleSystem.GridFill.cs

index 95338927ca97c90ca8d8532c4ee08ea07744fb8e..1ddfb8c2442f1ec3400628549796745f8f0bd969 100644 (file)
@@ -24,7 +24,7 @@ public record struct GridSpawnGroup
     public int MaxCount = 1;
 
     /// <summary>
-    /// Hide the IFF of the grid.
+    /// Hide the IFF label of the grid.
     /// </summary>
     public bool Hide = false;
 
index 5276046a275f537ccda725a641bd9d0b404e9fe6..2d52f98423123144ce39b1488d22ab9e00651a2e 100644 (file)
@@ -100,7 +100,7 @@ public sealed partial class ShuttleSystem
                     if (group.Hide)
                     {
                         var iffComp = EnsureComp<IFFComponent>(ent[0]);
-                        iffComp.Flags |= IFFFlags.Hide;
+                        iffComp.Flags |= IFFFlags.HideLabel;
                         Dirty(ent[0], iffComp);
                     }