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