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.Construction;
|
||||
using Content.Shared.Examine;
|
||||
|
||||
@@ -18,7 +18,7 @@ public sealed partial class SolutionEmpty : IGraphCondition
|
||||
|
||||
public bool Condition(EntityUid uid, IEntityManager entMan)
|
||||
{
|
||||
var containerSys = entMan.System<SolutionContainerSystem>();
|
||||
var containerSys = entMan.System<SharedSolutionContainerSystem>();
|
||||
if (!containerSys.TryGetSolution(uid, Solution, out _, out var solution))
|
||||
return false;
|
||||
|
||||
@@ -30,7 +30,7 @@ public sealed partial class SolutionEmpty : IGraphCondition
|
||||
var entMan = IoCManager.Resolve<IEntityManager>();
|
||||
var uid = args.Examined;
|
||||
|
||||
var containerSys = entMan.System<SolutionContainerSystem>();
|
||||
var containerSys = entMan.System<SharedSolutionContainerSystem>();
|
||||
if (!containerSys.TryGetSolution(uid, Solution, out _, out var solution))
|
||||
return false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user