From dd45d9d61316a1b1665d97c58687e3cb89668455 Mon Sep 17 00:00:00 2001 From: Mona Hmiza <> Date: Thu, 22 Jun 2023 16:57:49 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A4=D0=B8=D0=BA=D1=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../White/Jukebox/ServerJukeboxSongsSyncManager.cs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Content.Server/White/Jukebox/ServerJukeboxSongsSyncManager.cs b/Content.Server/White/Jukebox/ServerJukeboxSongsSyncManager.cs index fadd1b5498..1462f0fe1d 100644 --- a/Content.Server/White/Jukebox/ServerJukeboxSongsSyncManager.cs +++ b/Content.Server/White/Jukebox/ServerJukeboxSongsSyncManager.cs @@ -63,11 +63,6 @@ public sealed class ServerJukeboxSongsSyncManager : JukeboxSongsSyncManager public void CleanUp() { - var files = ContentRoot.GetAllFiles(); - - foreach (var file in files) - { - ContentRoot.RemoveFile(file.relPath); - } + ContentRoot.Clear(); } }