Replace SharedStatusEffectsSystem with StatusEffectsSystem

Updated references from SharedStatusEffectsSystem to StatusEffectsSystem in spell and magic weakness systems to use the correct status effects system implementation.
This commit is contained in:
Ed
2025-07-21 11:36:17 +03:00
parent f59de85047
commit 36d3ba35d1
2 changed files with 2 additions and 2 deletions

View File

@@ -19,7 +19,7 @@ public sealed partial class CP14SpellApplyStatusEffect : CP14SpellEffect
if (args.Target is null)
return;
var effectSys = entManager.System<SharedStatusEffectsSystem>();
var effectSys = entManager.System<StatusEffectsSystem>();
if (!Refresh)
effectSys.TryAddStatusEffectDuration(args.Target.Value, StatusEffect, Duration);

View File

@@ -9,7 +9,7 @@ namespace Content.Shared._CP14.MagicWeakness;
public abstract class CP14SharedMagicWeaknessSystem : EntitySystem
{
[Dependency] private readonly SharedStatusEffectsSystem _statusEffects = default!;
[Dependency] private readonly StatusEffectsSystem _statusEffects = default!;
[Dependency] private readonly DamageableSystem _damageable = default!;
[Dependency] private readonly SharedPopupSystem _popup = default!;