Gets rid of all ComponentManager usages. (#4707)
This commit is contained in:
committed by
GitHub
parent
7953e5b962
commit
0be5ff829b
@@ -9,7 +9,7 @@ namespace Content.Server.Lathe
|
||||
{
|
||||
public override void Update(float frameTime)
|
||||
{
|
||||
foreach (var comp in ComponentManager.EntityQuery<LatheComponent>(true))
|
||||
foreach (var comp in EntityManager.EntityQuery<LatheComponent>(true))
|
||||
{
|
||||
if (comp.Producing == false && comp.Queue.Count > 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user