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:
@@ -36,7 +36,7 @@ namespace Content.Server.GameObjects.EntitySystems
|
||||
{
|
||||
_internalTimer += frameTime;
|
||||
var gridsWithGravity = new List<GridId>();
|
||||
foreach (var generator in ComponentManager.EntityQuery<GravityGeneratorComponent>())
|
||||
foreach (var generator in ComponentManager.EntityQuery<GravityGeneratorComponent>(true))
|
||||
{
|
||||
if (generator.NeedsUpdate)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user