me very stupid

This commit is contained in:
JohnCorby 2023-07-21 19:44:34 -07:00
parent 1d617a87e1
commit 3df28f4ede

View File

@ -21,7 +21,7 @@ public class GlobalMusicControllerPatches
PlayerState.AtFlightConsole() && PlayerState.AtFlightConsole() &&
!PlayerState.IsHullBreached() && !PlayerState.IsHullBreached() &&
!__instance._playingFinalEndTimes && !__instance._playingFinalEndTimes &&
_audioDetector._activeVolumes.Count > 0; // change - don't play if in another audio volume _audioDetector._activeVolumes.Count == 0; // change - don't play if in another audio volume
var playing = __instance._darkBrambleSource.isPlaying && var playing = __instance._darkBrambleSource.isPlaying &&
!__instance._darkBrambleSource.IsFadingOut(); !__instance._darkBrambleSource.IsFadingOut();
if (shouldBePlaying && !playing) if (shouldBePlaying && !playing)