Fixed credits music fade in still sometimes occuring

This commit is contained in:
josshmot 2025-04-05 13:07:30 +10:00
parent 8fcf7d3031
commit 5e0d44d911

View File

@ -180,6 +180,10 @@ namespace NewHorizons.Components
} }
} }
// Override fade in
musicSource.Stop();
musicSource.Play();
// Patch scroll duration // Patch scroll duration
var creditsScroll = Locator.FindObjectOfType<CreditsScrollSection>(); var creditsScroll = Locator.FindObjectOfType<CreditsScrollSection>();
creditsScroll._scrollDuration = gameOver.length; creditsScroll._scrollDuration = gameOver.length;