Gets rid of all ComponentManager usages. (#4707)
This commit is contained in:
committed by
GitHub
parent
7953e5b962
commit
0be5ff829b
@@ -23,7 +23,7 @@ namespace Content.Shared.Stunnable
|
||||
{
|
||||
base.Update(frameTime);
|
||||
|
||||
foreach (var component in ComponentManager.EntityQuery<SharedStunnableComponent>(true))
|
||||
foreach (var component in EntityManager.EntityQuery<SharedStunnableComponent>(true))
|
||||
{
|
||||
component.Update(frameTime);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user