Add ImplicitRoofComponent (#36112)
* Add ImplicitRoofComponent So shuttles get marked as rooved. * Early-out So the new render doesn't suck up perf unnecessarily.
This commit is contained in:
13
Content.Shared/Light/Components/ImplicitRoofComponent.cs
Normal file
13
Content.Shared/Light/Components/ImplicitRoofComponent.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user