mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-03 02:27:08 +02:00
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
18 lines
438 B
C#
18 lines
438 B
C#
using Robust.Client.Audio.Midi;
|
|
using Robust.Shared.GameObjects;
|
|
using Robust.Shared.IoC;
|
|
|
|
namespace Robust.Client.GameObjects
|
|
{
|
|
public sealed class MidiSystem : EntitySystem
|
|
{
|
|
[Dependency] private readonly IMidiManager _midiManager = default!;
|
|
|
|
public override void FrameUpdate(float frameTime)
|
|
{
|
|
base.FrameUpdate(frameTime);
|
|
_midiManager.FrameUpdate(frameTime);
|
|
}
|
|
}
|
|
}
|