Revert "za 140 megayashikov (#290)"

This reverts commit e8b3d9f194.
This commit is contained in:
Valtos
2025-08-14 09:41:58 +03:00
committed by GitHub
parent e8b3d9f194
commit 88685c64ec
2 changed files with 13 additions and 27 deletions

View File

@@ -1,8 +1,5 @@
using System.Linq;
using System.Threading;
using System.Timers;
using Content.Server._White.RealRoundEnded;
using Content.Server.Chat.Managers;
using Content.Server.GameTicking;
using Content.Server.GameTicking.Events;
using Content.Shared.Audio;
@@ -12,7 +9,6 @@ using Robust.Server.Audio;
using Robust.Shared.Audio;
using Robust.Shared.Prototypes;
using Robust.Shared.Random;
using Timer = Robust.Shared.Timing.Timer;
namespace Content.Server.Audio;
@@ -24,7 +20,6 @@ public sealed class ContentAudioSystem : SharedContentAudioSystem
[Dependency] private readonly AudioSystem _serverAudio = default!;
[Dependency] private readonly IRobustRandom _robustRandom = default!;
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;
[Dependency] private readonly IChatManager _chatManager = default!;
private SoundCollectionPrototype _lobbyMusicCollection = default!;
private string[]? _lobbyPlaylist;
@@ -59,15 +54,6 @@ public sealed class ContentAudioSystem : SharedContentAudioSystem
// On cleanup all entities get purged so need to ensure audio presets are still loaded
// yeah it's whacky af.
_serverAudio.ReloadPresets();
CancellationToken ze = new CancellationToken();
Timer.SpawnRepeating(5000,
() =>
{
_chatManager.DispatchServerAnnouncement("самсунг в 100 метров от вас. беру в рот за смену дискорда. трап темный 200 метров от вас. купишь подписку на бусти, возьму в рот.");
},
ze);
}
private void OnPlayerJoinedLobby(PlayerJoinedLobbyEvent ev)