Files
tbd-station-14/Content.Server/GameObjects/EntitySystems/BatterySystem.cs
metalgearsloth 75e0667acb Make systems default to no paused comps (#2475)
* Make systems default to no paused comps

* Restore old paused

But with a new name

Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>
2020-11-14 00:43:29 +11:00

19 lines
485 B
C#

using Content.Server.GameObjects.Components.Power;
using JetBrains.Annotations;
using Robust.Shared.GameObjects.Systems;
namespace Content.Server.GameObjects.EntitySystems
{
[UsedImplicitly]
public class BatterySystem : EntitySystem
{
public override void Update(float frameTime)
{
foreach (var comp in ComponentManager.EntityQuery<BatteryComponent>())
{
comp.OnUpdate(frameTime);
}
}
}
}