* Add ImplicitRoofComponent So shuttles get marked as rooved. * Early-out So the new render doesn't suck up perf unnecessarily.
14 lines
362 B
C#
14 lines
362 B
C#
using Robust.Shared.GameStates;
|
|
|
|
namespace Content.Shared.Light.Components;
|
|
|
|
/// <summary>
|
|
/// Assumes the entire attached grid is rooved.
|
|
/// </summary>
|
|
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
|
|
public sealed partial class ImplicitRoofComponent : Component
|
|
{
|
|
[DataField, AutoNetworkedField]
|
|
public Color Color = Color.Black;
|
|
}
|