Replace instances of SolutionContainerSystem with SharedSolutionContainerSystem (#30084)
* Replace instances of SolutionContainerSystem with SharedSolutionContainerSystem * guap * More fixes * Wait you can do that? --------- Co-authored-by: Pieter-Jan Briers <pieterjan.briers+git@gmail.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
using Content.Server.Chemistry.Containers.EntitySystems;
|
||||
using Content.Shared.Chemistry.EntitySystems;
|
||||
using Content.Shared.EntityEffects;
|
||||
using JetBrains.Annotations;
|
||||
using Robust.Shared.Prototypes;
|
||||
@@ -18,7 +18,7 @@ namespace Content.Server.EntityEffects.Effects
|
||||
return;
|
||||
|
||||
// TODO see if this is correct
|
||||
var solutionContainerSystem = reagentArgs.EntityManager.System<SolutionContainerSystem>();
|
||||
var solutionContainerSystem = reagentArgs.EntityManager.System<SharedSolutionContainerSystem>();
|
||||
if (!solutionContainerSystem.TryGetSolution(reagentArgs.TargetEntity, _solution, out var solutionContainer))
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user