Skip to content

Commit

Permalink
Update ElectricStormRule.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
dvir001 committed Oct 3, 2024
1 parent dea8e89 commit 674bdd1
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions Content.Server/_NF/StationEvents/Events/ElectricStormRule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@ namespace Content.Server.StationEvents.Events;

public sealed class ElectricStormRule : StationEventSystem<ElectricStormRuleComponent>
{
[Dependency] private readonly ElectricalOverloadSystem _electricalOverload = default!;
[Dependency] private readonly IPlayerManager _playerManager = default!;

private const int MaxRetries = 10;
private float _effectTimer = 0;

public override void Initialize()
Expand All @@ -37,7 +33,8 @@ protected override void Started(EntityUid uid, ElectricStormRuleComponent compon
protected override void Ended(EntityUid uid, ElectricStormRuleComponent component, GameRuleComponent gameRule, GameRuleEndedEvent args)
{
base.Ended(uid, component, gameRule, args);
//RemComp<ElectricalOverloadComponent>(entity); // Umbra - ElectricalOverload

RemComp<ElectricalOverloadComponent>(uid);
}

protected override void ActiveTick(EntityUid uid, ElectricStormRuleComponent component, GameRuleComponent gameRule, float frameTime)
Expand Down

0 comments on commit 674bdd1

Please sign in to comment.