Files
OldThink/Content.Server/_White/Jukebox/ServerJukeboxSongsSyncSystem.cs

17 lines
450 B
C#

using Content.Shared.GameTicking;
namespace Content.Server._White.Jukebox;
public sealed class ServerJukeboxSongsSyncSystem : EntitySystem
{
[Dependency] private readonly ServerJukeboxSongsSyncManager _jukeboxManager = default!;
public event Action? PostRoundCleanUp;
public override void Initialize()
{
base.Initialize();
SubscribeLocalEvent<RoundRestartCleanupEvent>(_ => _jukeboxManager?.CleanUp());
}
}