Gets rid of all ComponentManager usages. (#4707)
This commit is contained in:
committed by
GitHub
parent
7953e5b962
commit
0be5ff829b
@@ -71,7 +71,7 @@ namespace Content.Server.Projectiles
|
||||
{
|
||||
base.Update(frameTime);
|
||||
|
||||
foreach (var component in ComponentManager.EntityQuery<ProjectileComponent>())
|
||||
foreach (var component in EntityManager.EntityQuery<ProjectileComponent>())
|
||||
{
|
||||
component.TimeLeft -= frameTime;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user