Clean up all missing EntitySystem proxy method uses (#38353)

This commit is contained in:
Tayrtahn
2025-06-26 19:50:49 -04:00
committed by GitHub
parent 73df3b1593
commit 75db49f9c0
185 changed files with 418 additions and 418 deletions

View File

@@ -282,8 +282,8 @@ public abstract partial class SharedSolutionContainerSystem : EntitySystem
public FixedPoint2 GetTotalPrototypeQuantity(EntityUid owner, string reagentId)
{
var reagentQuantity = FixedPoint2.New(0);
if (EntityManager.EntityExists(owner)
&& EntityManager.TryGetComponent(owner, out SolutionContainerManagerComponent? managerComponent))
if (Exists(owner)
&& TryComp(owner, out SolutionContainerManagerComponent? managerComponent))
{
foreach (var (_, soln) in EnumerateSolutions((owner, managerComponent)))
{
@@ -335,7 +335,7 @@ public abstract partial class SharedSolutionContainerSystem : EntitySystem
var (uid, comp, appearanceComponent) = soln;
var solution = comp.Solution;
if (!EntityManager.EntityExists(uid) || !Resolve(uid, ref appearanceComponent, false))
if (!Exists(uid) || !Resolve(uid, ref appearanceComponent, false))
return;
AppearanceSystem.SetData(uid, SolutionContainerVisuals.FillFraction, solution.FillFraction, appearanceComponent);