Files
tbd-station-14/Content.Server/Light/EntitySystems/ExpendableLightSystem.cs
2021-09-28 13:35:29 +02:00

19 lines
476 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 EntityManager.EntityQuery<ExpendableLightComponent>(true))
{
light.Update(frameTime);
}
}
}
}