mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 18:31:17 +03:00
17 lines
476 B
C#
17 lines
476 B
C#
using Content.Server.Arcade.Components;
|
|
using Content.Server.Power.Components;
|
|
|
|
namespace Content.Server.Arcade;
|
|
|
|
public sealed partial class ArcadeSystem
|
|
{
|
|
private void InitializeSpaceVillain()
|
|
{
|
|
SubscribeLocalEvent<SpaceVillainArcadeComponent, PowerChangedEvent>(OnSVillainPower);
|
|
}
|
|
|
|
private void OnSVillainPower(EntityUid uid, SpaceVillainArcadeComponent component, PowerChangedEvent args)
|
|
{
|
|
component.OnPowerStateChanged(args);
|
|
}
|
|
}
|