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:
@@ -11,7 +11,7 @@ namespace Content.Server.GameObjects.EntitySystems
|
||||
{
|
||||
public override void Update(float frameTime)
|
||||
{
|
||||
foreach (var comp in ComponentManager.EntityQuery<CloningPodComponent>())
|
||||
foreach (var comp in ComponentManager.EntityQuery<CloningPodComponent>(true))
|
||||
{
|
||||
comp.Update(frameTime);
|
||||
}
|
||||
@@ -23,7 +23,7 @@ namespace Content.Server.GameObjects.EntitySystems
|
||||
{
|
||||
if (!Minds.ContainsValue(mind))
|
||||
{
|
||||
Minds.Add(Minds.Count(), mind);
|
||||
Minds.Add(Minds.Count, mind);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user