Files
tbd-station-14/Content.Server/GameObjects/EntitySystems/BatteryDischargerSystem.cs
metalgearsloth 8a2e0ed142 Refactor pauses (#2215)
* Refactor pauses

* The last of the physics

Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>
2020-10-26 12:07:11 +01:00

21 lines
600 B
C#

using Content.Server.GameObjects.Components.Power.PowerNetComponents;
using JetBrains.Annotations;
using Robust.Server.Interfaces.Timing;
using Robust.Shared.GameObjects.Systems;
using Robust.Shared.IoC;
namespace Content.Server.GameObjects.EntitySystems
{
[UsedImplicitly]
internal sealed class BatteryDischargerSystem : EntitySystem
{
public override void Update(float frameTime)
{
foreach (var comp in ComponentManager.EntityQuery<BatteryDischargerComponent>(false))
{
comp.Update(frameTime);
}
}
}
}