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:
@@ -48,7 +48,7 @@ namespace Content.Server.GameObjects.EntitySystems.AI
|
||||
yield break;
|
||||
}
|
||||
|
||||
foreach (var component in ComponentManager.EntityQuery<AiFactionTagComponent>())
|
||||
foreach (var component in ComponentManager.EntityQuery<AiFactionTagComponent>(true))
|
||||
{
|
||||
if ((component.Factions & hostile) == 0)
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user