Files
OldThink/Content.Server/Light/EntitySystems/ExpendableLightSystem.cs

19 lines
479 B
C#
Raw Normal View History

2021-06-09 22:19:39 +02:00
using Content.Server.Light.Components;
using JetBrains.Annotations;
using Robust.Shared.GameObjects;
2021-06-09 22:19:39 +02:00
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);
}
}
}
}