Clean up all missing EntitySystem proxy method uses (#38353)
This commit is contained in:
@@ -90,7 +90,7 @@ namespace Content.Client.Sandbox
|
||||
|
||||
// Try copy entity.
|
||||
if (uid.IsValid()
|
||||
&& EntityManager.TryGetComponent(uid, out MetaDataComponent? comp)
|
||||
&& TryComp(uid, out MetaDataComponent? comp)
|
||||
&& !comp.EntityDeleted)
|
||||
{
|
||||
if (comp.EntityPrototype == null || comp.EntityPrototype.HideSpawnMenu || comp.EntityPrototype.Abstract)
|
||||
|
||||
Reference in New Issue
Block a user