Skip to content

Commit

Permalink
Github Actions is gaslighting me
Browse files Browse the repository at this point in the history
  • Loading branch information
TGRCdev committed Sep 20, 2024
1 parent 5d1b3c6 commit 2db3e69
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,7 @@
using Robust.Shared.Player;
using Content.Shared.StatusEffect;
using Content.Shared.Flash.Components;
using Content.Shared.Flash;
using Robust.Shared.Audio.Systems;
using Content.Shared.Mind;
using Content.Shared.Mind.Components;

namespace Content.Server.Revenant.EntitySystems;

Expand All @@ -55,12 +52,14 @@ public sealed partial class RevenantSystem
[Dependency] private readonly SharedTransformSystem _transformSystem = default!;
[Dependency] private readonly SharedHandsSystem _handsSystem = default!;
[Dependency] private readonly RevenantAnimatedSystem _revenantAnimated = default!;
[Dependency] private readonly EntityLookupSystem _entityLookup = default!;
[Dependency] private readonly SharedAudioSystem _audioSystem = default!;

[ValidatePrototypeId<StatusEffectPrototype>]
private const string RevenantEssenceRegen = "EssenceRegen";

[ValidatePrototypeId<StatusEffectPrototype>]
private const string FlashedId = "Flashed";

private void InitializeAbilities()
{
SubscribeLocalEvent<RevenantComponent, UserActivateInWorldEvent>(OnInteract);
Expand Down Expand Up @@ -265,7 +264,7 @@ private void OnHauntAction(EntityUid uid, RevenantComponent comp, RevenantHauntA
foreach (var witness in witnesses)
{
_statusEffects.TryAddStatusEffect<FlashedComponent>(GetEntity(witness),
SharedFlashSystem.FlashedKey,
FlashedId,
comp.HauntFlashDuration,
false
);
Expand Down

0 comments on commit 2db3e69

Please sign in to comment.