This commit is contained in:
NullWanderer 2024-04-07 14:44:39 +02:00
parent dea65a9899
commit 9d47ccb1b9
No known key found for this signature in database
GPG Key ID: 65CF92BD1D26F4AC
1 changed files with 1 additions and 2 deletions

View File

@ -8,14 +8,13 @@ namespace Content.Server.Anomaly;
public sealed partial class AnomalySystem
{
[Dependency] private readonly SharedAnomalySystem _sharedAnomaly = default!;
[Dependency] private readonly IRobustRandom _random = default!;
[Dependency] private readonly DispelPowerSystem _dispel = default!;
private void InitializePsionics()
{
SubscribeLocalEvent<AnomalyComponent, DispelledEvent>(OnDispelled);
}
//Nyano - Summary: gives dispellable behavior to Anomalies.
//Nyano - Summary: gives dispellable behavior to Anomalies.
private void OnDispelled(EntityUid uid, AnomalyComponent component, DispelledEvent args)
{
_dispel.DealDispelDamage(uid);