Files
OldThink/Content.Server/GameObjects/EntitySystems/Power/PowerApcSystem.cs

20 lines
506 B
C#
Raw Normal View History

2021-02-02 05:20:24 -06:00
#nullable enable
using Content.Server.GameObjects.Components.Power.ApcNetComponents;
using JetBrains.Annotations;
using Robust.Shared.GameObjects;
namespace Content.Server.GameObjects.EntitySystems
{
[UsedImplicitly]
internal sealed class PowerApcSystem : EntitySystem
{
public override void Update(float frameTime)
{
foreach (var apc in ComponentManager.EntityQuery<ApcComponent>(false))
{
apc.Update();
}
}
}
}