Fix RA0032 (#32514)
This commit is contained in:
@@ -14,7 +14,6 @@ public sealed class LungSystem : EntitySystem
|
||||
[Dependency] private readonly AtmosphereSystem _atmos = default!;
|
||||
[Dependency] private readonly InternalsSystem _internals = default!;
|
||||
[Dependency] private readonly SharedSolutionContainerSystem _solutionContainerSystem = default!;
|
||||
[Dependency] private readonly AtmosphereSystem _atmosphereSystem = default!;
|
||||
|
||||
public static string LungSolutionName = "Lung";
|
||||
|
||||
@@ -29,7 +28,7 @@ public sealed class LungSystem : EntitySystem
|
||||
|
||||
private void OnGotUnequipped(Entity<BreathToolComponent> ent, ref GotUnequippedEvent args)
|
||||
{
|
||||
_atmosphereSystem.DisconnectInternals(ent);
|
||||
_atmos.DisconnectInternals(ent);
|
||||
}
|
||||
|
||||
private void OnGotEquipped(Entity<BreathToolComponent> ent, ref GotEquippedEvent args)
|
||||
@@ -93,7 +92,7 @@ public sealed class LungSystem : EntitySystem
|
||||
if (moles <= 0)
|
||||
continue;
|
||||
|
||||
var reagent = _atmosphereSystem.GasReagents[i];
|
||||
var reagent = _atmos.GasReagents[i];
|
||||
if (reagent is null)
|
||||
continue;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user