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:
@@ -9,12 +9,12 @@ namespace Content.Shared.GameObjects.EntitySystems
|
||||
{
|
||||
public override void Update(float frameTime)
|
||||
{
|
||||
foreach (var comp in ComponentManager.EntityQuery<SharedDisposalUnitComponent>())
|
||||
foreach (var comp in ComponentManager.EntityQuery<SharedDisposalUnitComponent>(true))
|
||||
{
|
||||
comp.Update(frameTime);
|
||||
}
|
||||
|
||||
foreach (var comp in ComponentManager.EntityQuery<SharedDisposalMailingUnitComponent>())
|
||||
foreach (var comp in ComponentManager.EntityQuery<SharedDisposalMailingUnitComponent>(true))
|
||||
{
|
||||
comp.Update(frameTime);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user