Gets rid of all ComponentManager usages. (#4707)
This commit is contained in:
committed by
GitHub
parent
7953e5b962
commit
0be5ff829b
@@ -39,7 +39,7 @@ namespace Content.Server.Buckle
|
||||
|
||||
public override void Update(float frameTime)
|
||||
{
|
||||
foreach (var (buckle, physics) in ComponentManager.EntityQuery<BuckleComponent, PhysicsComponent>())
|
||||
foreach (var (buckle, physics) in EntityManager.EntityQuery<BuckleComponent, PhysicsComponent>())
|
||||
{
|
||||
buckle.Update(physics);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user