Files
tbd-station-14/Content.Server/Light/EntitySystems/ExpendableLightSystem.cs
2021-06-09 22:19:39 +02:00

19 lines
479 B
C#

using Content.Server.Light.Components;
using JetBrains.Annotations;
using Robust.Shared.GameObjects;
namespace Content.Server.Light.EntitySystems
{
[UsedImplicitly]
public class ExpendableLightSystem : EntitySystem
{
public override void Update(float frameTime)
{
foreach (var light in ComponentManager.EntityQuery<ExpendableLightComponent>(true))
{
light.Update(frameTime);
}
}
}
}