Skip to content

Commit

Permalink
Update ShadowkinSystem.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
FoxxoTrystan authored Oct 9, 2024
1 parent 05d99c6 commit fcf9cd3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Content.Server/Shadowkin/ShadowkinSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ public sealed class ShadowkinSystem : EntitySystem
public override void Initialize()
{
base.Initialize();
SubscribeLocalEvent<ShadowkinComponent, MapInitEvent>(OnInit);
SubscribeLocalEvent<ShadowkinComponent, ComponentStartup>(OnInit);
SubscribeLocalEvent<ShadowkinComponent, ExaminedEvent>(OnExamined);
SubscribeLocalEvent<ShadowkinComponent, OnMindbreakEvent>(OnMindbreak);
SubscribeLocalEvent<ShadowkinComponent, OnAttemptPowerUseEvent>(OnAttemptPowerUse);
SubscribeLocalEvent<ShadowkinComponent, OnManaUpdateEvent>(OnManaUpdate);
SubscribeLocalEvent<ShadowkinComponent, RejuvenateEvent>(OnRejuvenate);
}

private void OnInit(EntityUid uid, ShadowkinComponent component, MapInitEvent args)
private void OnInit(EntityUid uid, ShadowkinComponent component, ComponentStartup args)
{
if (component.BlackeyeSpawn)
ApplyBlackEye(uid);
Expand Down

0 comments on commit fcf9cd3

Please sign in to comment.