From: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Date: Thu, 11 Jan 2024 12:56:07 +0000 (+1100) Subject: Only hide ruins labels (#23925) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=801f141c6a3eb73bd87349b2aa32e4118cf04e53;p=space-station-14.git Only hide ruins labels (#23925) --- diff --git a/Content.Server/Shuttles/Components/GridSpawnComponent.cs b/Content.Server/Shuttles/Components/GridSpawnComponent.cs index 95338927ca..1ddfb8c244 100644 --- a/Content.Server/Shuttles/Components/GridSpawnComponent.cs +++ b/Content.Server/Shuttles/Components/GridSpawnComponent.cs @@ -24,7 +24,7 @@ public record struct GridSpawnGroup public int MaxCount = 1; /// - /// Hide the IFF of the grid. + /// Hide the IFF label of the grid. /// public bool Hide = false; diff --git a/Content.Server/Shuttles/Systems/ShuttleSystem.GridFill.cs b/Content.Server/Shuttles/Systems/ShuttleSystem.GridFill.cs index 5276046a27..2d52f98423 100644 --- a/Content.Server/Shuttles/Systems/ShuttleSystem.GridFill.cs +++ b/Content.Server/Shuttles/Systems/ShuttleSystem.GridFill.cs @@ -100,7 +100,7 @@ public sealed partial class ShuttleSystem if (group.Hide) { var iffComp = EnsureComp(ent[0]); - iffComp.Flags |= IFFFlags.Hide; + iffComp.Flags |= IFFFlags.HideLabel; Dirty(ent[0], iffComp); }