Files
OldThink/Content.Server/Arcade/ArcadeSystem.BlockGame.cs

18 lines
482 B
C#
Raw Normal View History

2022-03-29 03:58:51 +11:00
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, PowerChangedEvent args)
{
component.OnPowerStateChanged(args);
}
}