mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-17 05:27:38 +03:00
Just removes some lines of code. (cherry picked from commit e665c2487e2f248bdc6b435bdcdb3060c69b546c)
23 lines
677 B
C#
23 lines
677 B
C#
using Content.Client.Implants.UI;
|
|
using Content.Client.Items;
|
|
using Content.Shared.Implants;
|
|
using Content.Shared.Implants.Components;
|
|
|
|
namespace Content.Client.Implants;
|
|
|
|
public sealed class ImplanterSystem : SharedImplanterSystem
|
|
{
|
|
public override void Initialize()
|
|
{
|
|
base.Initialize();
|
|
|
|
SubscribeLocalEvent<ImplanterComponent, AfterAutoHandleStateEvent>(OnHandleImplanterState);
|
|
Subs.ItemStatus<ImplanterComponent>(ent => new ImplanterStatusControl(ent));
|
|
}
|
|
|
|
private void OnHandleImplanterState(EntityUid uid, ImplanterComponent component, ref AfterAutoHandleStateEvent args)
|
|
{
|
|
component.UiUpdateNeeded = true;
|
|
}
|
|
}
|