Skip to content

Commit

Permalink
squash! Merge tool integrating 519a6b2
Browse files Browse the repository at this point in the history
  • Loading branch information
LankLTE committed Oct 15, 2024
2 parents 9c8b75f + 519a6b2 commit 6430d7f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Content.Server/Anomaly/Effects/TechAnomalySystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,17 @@ public override void Initialize()
{
base.Initialize();

SubscribeLocalEvent<TechAnomalyComponent, MapInitEvent>(OnTechMapInit);
SubscribeLocalEvent<TechAnomalyComponent, AnomalyPulseEvent>(OnPulse);
SubscribeLocalEvent<TechAnomalyComponent, AnomalySupercriticalEvent>(OnSupercritical);
SubscribeLocalEvent<TechAnomalyComponent, AnomalyStabilityChangedEvent>(OnStabilityChanged);
}

private void OnTechMapInit(Entity<TechAnomalyComponent> ent, ref MapInitEvent args)
{
ent.Comp.NextTimer = _timing.CurTime;
}

public override void Update(float frameTime)
{
base.Update(frameTime);
Expand Down

0 comments on commit 6430d7f

Please sign in to comment.