Pausing content (#3061)
* Change EntityQuery to not retrieve paused by default * GetAllComponents Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>
This commit is contained in:
@@ -11,7 +11,7 @@ namespace Content.Server.GameObjects.EntitySystems
|
||||
{
|
||||
base.Update(frameTime);
|
||||
|
||||
foreach (var component in ComponentManager.EntityQuery<ProjectileComponent>())
|
||||
foreach (var component in ComponentManager.EntityQuery<ProjectileComponent>(true))
|
||||
{
|
||||
component.TimeLeft -= frameTime;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user