From ad72afb6fc9fba92f83ee55dd05f8f8ff3e2ac1a Mon Sep 17 00:00:00 2001 From: Noah Pilarski Date: Thu, 13 Jun 2024 16:02:00 -0400 Subject: [PATCH] fix bramble music not working because all dimensions have an ambient --- NewHorizons/Patches/GlobalMusicControllerPatches.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NewHorizons/Patches/GlobalMusicControllerPatches.cs b/NewHorizons/Patches/GlobalMusicControllerPatches.cs index 776cb8e8..e182e093 100644 --- a/NewHorizons/Patches/GlobalMusicControllerPatches.cs +++ b/NewHorizons/Patches/GlobalMusicControllerPatches.cs @@ -21,7 +21,7 @@ public class GlobalMusicControllerPatches PlayerState.AtFlightConsole() && !PlayerState.IsHullBreached() && !__instance._playingFinalEndTimes && - _audioDetector._activeVolumes.Count == 0; // change - don't play if in another audio volume + _audioDetector._activeVolumes.Count <= 1; // change - don't play if in another audio volume other than ambient var playing = __instance._darkBrambleSource.isPlaying && !__instance._darkBrambleSource.IsFadingOut(); if (shouldBePlaying && !playing)