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.Nutrition.EntitySystems
|
||||
|
||||
if (_accumulatedFrameTime > 1)
|
||||
{
|
||||
foreach (var comp in ComponentManager.EntityQuery<HungerComponent>(true))
|
||||
foreach (var comp in EntityManager.EntityQuery<HungerComponent>(true))
|
||||
{
|
||||
comp.OnUpdate(_accumulatedFrameTime);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user