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:
@@ -15,7 +15,7 @@ namespace Content.Server.GameObjects.EntitySystems
|
||||
_accumulatedFrameTime += frameTime;
|
||||
if (_accumulatedFrameTime >= 10)
|
||||
{
|
||||
foreach (var comp in ComponentManager.EntityQuery<AMEControllerComponent>())
|
||||
foreach (var comp in ComponentManager.EntityQuery<AMEControllerComponent>(true))
|
||||
{
|
||||
comp.OnUpdate(frameTime);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user