Gets rid of all ComponentManager usages. (#4707)
This commit is contained in:
committed by
GitHub
parent
7953e5b962
commit
0be5ff829b
@@ -18,8 +18,8 @@ namespace Content.Client.Commands
|
||||
|
||||
public void Execute(IConsoleShell shell, string argStr, string[] args)
|
||||
{
|
||||
var componentManager = IoCManager.Resolve<IComponentManager>();
|
||||
var mechanisms = componentManager.EntityQuery<SharedMechanismComponent>(true);
|
||||
var entityManager = IoCManager.Resolve<IEntityManager>();
|
||||
var mechanisms = entityManager.EntityQuery<SharedMechanismComponent>(true);
|
||||
|
||||
foreach (var mechanism in mechanisms)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user