Make flashlights, atmos hardsuit, and RGB use the new layer features (#6253)
* Make flashlights, atmos hardsuit, and RGB use the new layer features * avoid self-conflict * fix rgb not updating on add * cleanup * Update Content.Client/Light/RgbLightControllerSystem.cs Co-authored-by: mirrorcult <lunarautomaton6@gmail.com> * cleanup diff Co-authored-by: mirrorcult <lunarautomaton6@gmail.com>
This commit is contained in:
@@ -17,8 +17,11 @@ namespace Content.Shared.Light.Component
|
||||
{
|
||||
public byte? Charge { get; }
|
||||
|
||||
public HandheldLightComponentState(byte? charge)
|
||||
public bool Activated { get; }
|
||||
|
||||
public HandheldLightComponentState(bool activated, byte? charge)
|
||||
{
|
||||
Activated = activated;
|
||||
Charge = charge;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user