mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-09-30 08:07:28 +00:00
18 lines
486 B
C#
18 lines
486 B
C#
using Content.Server.Arcade.Components;
|
|
using Content.Server.Power.Components;
|
|
|
|
namespace Content.Server.Arcade;
|
|
|
|
public sealed partial class ArcadeSystem
|
|
{
|
|
private void InitializeBlockGame()
|
|
{
|
|
SubscribeLocalEvent<BlockGameArcadeComponent, PowerChangedEvent>(OnBlockPowerChanged);
|
|
}
|
|
|
|
private static void OnBlockPowerChanged(EntityUid uid, BlockGameArcadeComponent component, ref PowerChangedEvent args)
|
|
{
|
|
component.OnPowerStateChanged(args);
|
|
}
|
|
}
|