Delta-v/Content.Server/Kitchen/EntitySystems/MicrowaveSystem.cs

20 lines
504 B
C#

using Content.Server.Kitchen.Components;
using JetBrains.Annotations;
using Robust.Shared.GameObjects;
namespace Content.Server.Kitchen.EntitySystems
{
[UsedImplicitly]
internal sealed class MicrowaveSystem : EntitySystem
{
public override void Update(float frameTime)
{
base.Update(frameTime);
foreach (var comp in ComponentManager.EntityQuery<MicrowaveComponent>(true))
{
comp.OnUpdate();
}
}
}
}