Converts the particle accelerator over to ECS + misc (#17075)
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
This commit is contained in:
@@ -1,16 +1,6 @@
|
||||
using Content.Server.Power.Components;
|
||||
|
||||
namespace Content.Server.ParticleAccelerator.Components;
|
||||
namespace Content.Server.ParticleAccelerator.Components;
|
||||
|
||||
[RegisterComponent]
|
||||
public sealed class ParticleAcceleratorPowerBoxComponent : Component
|
||||
{
|
||||
[ViewVariables] public PowerConsumerComponent? PowerConsumerComponent;
|
||||
|
||||
protected override void Initialize()
|
||||
{
|
||||
base.Initialize();
|
||||
|
||||
PowerConsumerComponent = Owner.EnsureComponentWarn<PowerConsumerComponent>();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user