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:
commit
75bc63e1d0
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue