mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2024-11-27 01:55:52 -05:00
title screen volume fix
This commit is contained in:
parent
4c35b1d74f
commit
3aada18a59
1 changed files with 1 additions and 0 deletions
|
@ -223,6 +223,7 @@ class TitleState extends MusicBeatState
|
||||||
var shouldFadeIn = (FlxG.sound.music == null);
|
var shouldFadeIn = (FlxG.sound.music == null);
|
||||||
// Load music. Includes logic to handle BPM changes.
|
// Load music. Includes logic to handle BPM changes.
|
||||||
FunkinSound.playMusic('freakyMenu', false, true);
|
FunkinSound.playMusic('freakyMenu', false, true);
|
||||||
|
FlxG.sound.music.volume = 0;
|
||||||
// Fade from 0.0 to 0.7 over 4 seconds
|
// Fade from 0.0 to 0.7 over 4 seconds
|
||||||
if (shouldFadeIn) FlxG.sound.music.fadeIn(4, 0, 0.7);
|
if (shouldFadeIn) FlxG.sound.music.fadeIn(4, 0, 0.7);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue