Gets rid of all ComponentManager usages. (#4707)
This commit is contained in:
committed by
GitHub
parent
7953e5b962
commit
0be5ff829b
@@ -15,7 +15,7 @@ namespace Content.Server.AME
|
||||
_accumulatedFrameTime += frameTime;
|
||||
if (_accumulatedFrameTime >= 10)
|
||||
{
|
||||
foreach (var comp in ComponentManager.EntityQuery<AMEControllerComponent>(true))
|
||||
foreach (var comp in EntityManager.EntityQuery<AMEControllerComponent>(true))
|
||||
{
|
||||
comp.OnUpdate(frameTime);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user