From 4f8a525b5e4ad69124692a24c46149a6726e1dcd Mon Sep 17 00:00:00 2001 From: AwareFoxy <135021509+AwareFoxy@users.noreply.github.com> Date: Thu, 5 Dec 2024 22:14:31 +0100 Subject: [PATCH] fix govna --- .../_CorvaxNext/Administration/UI/Audio/AdminAudioPanelEui.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Server/_CorvaxNext/Administration/UI/Audio/AdminAudioPanelEui.cs b/Content.Server/_CorvaxNext/Administration/UI/Audio/AdminAudioPanelEui.cs index 325e692e97d..850b9860d43 100644 --- a/Content.Server/_CorvaxNext/Administration/UI/Audio/AdminAudioPanelEui.cs +++ b/Content.Server/_CorvaxNext/Administration/UI/Audio/AdminAudioPanelEui.cs @@ -94,7 +94,7 @@ public override void HandleMessage(EuiMessageBase msg) break; case AdminAudioPanelEuiMessage.AddTrack addTrack: var filename = addTrack.Filename.Trim(); - if (_resourceManager.ContentFileExists(filename)) + if (_resourceManager.ContentFileExists(new ResPath(filename).ToRootedPath())) _audioPanel.AddToQueue(filename); break; case AdminAudioPanelEuiMessage.SetVolume setVolume: