1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-12-12 08:25:13 +00:00

Merge pull request #391 from FunkinCrew/title-music-vol-fix

title screen volume fix
This commit is contained in:
Eric 2024-03-22 01:32:02 -04:00 committed by GitHub
commit 75bc63e1d0

View file

@ -223,6 +223,7 @@ class TitleState extends MusicBeatState
var shouldFadeIn = (FlxG.sound.music == null);
// Load music. Includes logic to handle BPM changes.
FunkinSound.playMusic('freakyMenu', false, true);
FlxG.sound.music.volume = 0;
// Fade from 0.0 to 0.7 over 4 seconds
if (shouldFadeIn) FlxG.sound.music.fadeIn(4, 0, 0.7);
}