Gets rid of all ComponentManager usages. (#4707)
This commit is contained in:
committed by
GitHub
parent
7953e5b962
commit
0be5ff829b
@@ -41,7 +41,7 @@ namespace Content.Server.DoAfter
|
||||
{
|
||||
base.Update(frameTime);
|
||||
|
||||
foreach (var comp in ComponentManager.EntityQuery<DoAfterComponent>(true))
|
||||
foreach (var comp in EntityManager.EntityQuery<DoAfterComponent>(true))
|
||||
{
|
||||
foreach (var doAfter in comp.DoAfters.ToArray())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user