mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-10 10:51:14 +03:00
17 lines
500 B
C#
17 lines
500 B
C#
using Content.Server.Chemistry.Components;
|
|
using Content.Server.Power.Components;
|
|
|
|
namespace Content.Server.Chemistry.EntitySystems;
|
|
|
|
public sealed partial class ChemistrySystem
|
|
{
|
|
private void InitializeChemMaster()
|
|
{
|
|
SubscribeLocalEvent<ChemMasterComponent, PowerChangedEvent>(OnChemMasterPowerChange);
|
|
}
|
|
|
|
private static void OnChemMasterPowerChange(EntityUid uid, ChemMasterComponent component, PowerChangedEvent args)
|
|
{
|
|
component.UpdateUserInterface();
|
|
}
|
|
}
|