From 19ca9d471adb1ca1af0d4f6e294a39fdffc272aa Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 19 Apr 2026 21:41:20 +0000 Subject: [PATCH 1/2] Initial plan From 8a527a7eaeeebaaf6a1d0edcd72b59cb2f288440 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 19 Apr 2026 21:45:36 +0000 Subject: [PATCH 2/2] fix: skip empty sound sources during sound autodetect Agent-Logs-Url: https://github.com/TombEngine/Tomb-Editor/sessions/7a6df68a-a02a-40b7-84a7-3f61a4c6e5c3 Co-authored-by: Nickelony <20436882+Nickelony@users.noreply.github.com> --- TombEditor/EditorActions.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/TombEditor/EditorActions.cs b/TombEditor/EditorActions.cs index a595f46c8..da03459d3 100644 --- a/TombEditor/EditorActions.cs +++ b/TombEditor/EditorActions.cs @@ -5902,6 +5902,9 @@ public static void AssignSoundSourcesSounds(LevelSettings settings) if (instance is SoundSourceInstance) { var soundSource = instance as SoundSourceInstance; + if (soundSource.IsEmpty) + continue; + if (!settings.SelectedSounds.Contains(soundSource.SoundId)) settings.SelectedSounds.Add(soundSource.SoundId); }