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.Server.Kitchen.EntitySystems
|
||||
public override void Update(float frameTime)
|
||||
{
|
||||
base.Update(frameTime);
|
||||
foreach (var comp in ComponentManager.EntityQuery<MicrowaveComponent>(true))
|
||||
foreach (var comp in EntityManager.EntityQuery<MicrowaveComponent>(true))
|
||||
{
|
||||
comp.OnUpdate();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user