Moved MagbootsComponent.cs from Cloning to Clothing (#4399)

This commit is contained in:
clyf
2021-07-30 16:05:07 -07:00
committed by GitHub
parent 898bdc9491
commit 6649310ccf

View File

@@ -1,20 +0,0 @@
using Content.Shared.Clothing;
using Robust.Shared.GameObjects;
namespace Content.Client.Cloning
{
[RegisterComponent]
public sealed class MagbootsComponent : SharedMagbootsComponent
{
public override bool On { get; set; }
public override void HandleComponentState(ComponentState? curState, ComponentState? nextState)
{
if (curState is not MagbootsComponentState compState)
return;
On = compState.On;
OnChanged();
}
}
}