mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
fix bramble music not working because all dimensions have an ambient
This commit is contained in:
parent
d325efc4bd
commit
ad72afb6fc
@ -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 <= 1; // change - don't play if in another audio volume other than ambient
|
||||||
var playing = __instance._darkBrambleSource.isPlaying &&
|
var playing = __instance._darkBrambleSource.isPlaying &&
|
||||||
!__instance._darkBrambleSource.IsFadingOut();
|
!__instance._darkBrambleSource.IsFadingOut();
|
||||||
if (shouldBePlaying && !playing)
|
if (shouldBePlaying && !playing)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user