Only hide ruins labels (#23925)
(cherry picked from commit 801f141c6a3eb73bd87349b2aa32e4118cf04e53)
This commit is contained in:
parent
cb5fb265c7
commit
ef62280bf8
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue