Files
OldThink/Content.Server/GameObjects/EntitySystems/MicrowaveSystem.cs

20 lines
528 B
C#
Raw Normal View History

using Content.Server.GameObjects.Components.Kitchen;
using JetBrains.Annotations;
using Robust.Shared.GameObjects.Systems;
namespace Content.Server.GameObjects.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();
}
}
}
}