Clean up all missing EntitySystem proxy method uses (#38353)
This commit is contained in:
@@ -110,7 +110,7 @@ namespace Content.Client.Examine
|
||||
{
|
||||
var entity = args.EntityUid;
|
||||
|
||||
if (!args.EntityUid.IsValid() || !EntityManager.EntityExists(entity))
|
||||
if (!args.EntityUid.IsValid() || !Exists(entity))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
@@ -225,7 +225,7 @@ namespace Content.Client.Examine
|
||||
|
||||
vBox.AddChild(hBox);
|
||||
|
||||
if (EntityManager.HasComponent<SpriteComponent>(target))
|
||||
if (HasComp<SpriteComponent>(target))
|
||||
{
|
||||
var spriteView = new SpriteView
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user