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

@@ -156,7 +156,7 @@ namespace Content.Server.Disposal.Unit
holder.Air.Clear();
}
EntityManager.DeleteEntity(uid);
Del(uid);
}
// Note: This function will cause an ExitDisposals on any failure that does not make an ExitDisposals impossible.
@@ -243,7 +243,7 @@ namespace Content.Server.Disposal.Unit
holder.TimeLeft -= time;
frameTime -= time;
if (!EntityManager.EntityExists(holder.CurrentTube))
if (!Exists(holder.CurrentTube))
{
ExitDisposals(uid, holder);
break;
@@ -268,7 +268,7 @@ namespace Content.Server.Disposal.Unit
// Find next tube
var nextTube = _disposalTubeSystem.NextTubeFor(currentTube, holder.CurrentDirection);
if (!EntityManager.EntityExists(nextTube))
if (!Exists(nextTube))
{
ExitDisposals(uid, holder);
break;