Files
OldThink/Content.Server/Body/Respiratory/RespiratorSystem.cs
mirrorcult 8aa4f998de Metabolism refactor (#4395)
* metabolism -> respirator, add reageanteffect and reagenteffectcondition, start on metabolizercomp/system

* move LiverBehavior metabolism logic to Metabolizer

* minor tweaks and update all YAML

* how about actually taking conditions into account

* off by one

* removals

* reviews
2021-07-31 13:50:32 +02:00

20 lines
475 B
C#

using JetBrains.Annotations;
using Robust.Shared.GameObjects;
namespace Content.Server.Body.Respiratory
{
[UsedImplicitly]
public class RespiratorSystem : EntitySystem
{
public override void Update(float frameTime)
{
base.Update(frameTime);
foreach (var respirator in ComponentManager.EntityQuery<RespiratorComponent>(false))
{
respirator.Update(frameTime);
}
}
}
}