Files
OldThink/Content.Server/GameObjects/EntitySystems/HandHeldLightSystem.cs

19 lines
510 B
C#
Raw Normal View History

using Content.Server.GameObjects.Components.Interactable;
using JetBrains.Annotations;
using Robust.Shared.GameObjects.Systems;
namespace Content.Server.GameObjects.EntitySystems
{
[UsedImplicitly]
internal sealed class HandHeldLightSystem : EntitySystem
{
public override void Update(float frameTime)
{
foreach (var comp in ComponentManager.EntityQuery<HandheldLightComponent>())
{
comp.OnUpdate(frameTime);
}
}
}
}