* Change EntityQuery to not retrieve paused by default * GetAllComponents Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>
19 lines
526 B
C#
19 lines
526 B
C#
using Content.Server.GameObjects.Components.Pointing;
|
|
using JetBrains.Annotations;
|
|
using Robust.Shared.GameObjects.Systems;
|
|
|
|
namespace Content.Server.GameObjects.EntitySystems
|
|
{
|
|
[UsedImplicitly]
|
|
internal sealed class RoguePointingSystem : EntitySystem
|
|
{
|
|
public override void Update(float frameTime)
|
|
{
|
|
foreach (var component in ComponentManager.EntityQuery<RoguePointingArrowComponent>(true))
|
|
{
|
|
component.Update(frameTime);
|
|
}
|
|
}
|
|
}
|
|
}
|