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:
@@ -12,7 +12,7 @@ namespace Content.Shared.GameObjects.EntitySystems
|
||||
{
|
||||
base.Update(frameTime);
|
||||
|
||||
foreach (var mechanism in ComponentManager.EntityQuery<IMechanism>())
|
||||
foreach (var mechanism in ComponentManager.EntityQuery<IMechanism>(true))
|
||||
{
|
||||
mechanism.Update(frameTime);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user