Only hide ruins labels (#23925)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user