Only hide ruins labels (#23925)

(cherry picked from commit 801f141c6a3eb73bd87349b2aa32e4118cf04e53)
This commit is contained in:
metalgearsloth 2024-01-11 23:56:07 +11:00 committed by Debug
parent cb5fb265c7
commit ef62280bf8
No known key found for this signature in database
GPG Key ID: 271270A74EF9C350
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ public record struct GridSpawnGroup
public int MaxCount = 1; public int MaxCount = 1;
/// <summary> /// <summary>
/// Hide the IFF of the grid. /// Hide the IFF label of the grid.
/// </summary> /// </summary>
public bool Hide = false; public bool Hide = false;

View File

@ -100,7 +100,7 @@ public sealed partial class ShuttleSystem
if (group.Hide) if (group.Hide)
{ {
var iffComp = EnsureComp<IFFComponent>(ent[0]); var iffComp = EnsureComp<IFFComponent>(ent[0]);
iffComp.Flags |= IFFFlags.Hide; iffComp.Flags |= IFFFlags.HideLabel;
Dirty(ent[0], iffComp); Dirty(ent[0], iffComp);
} }