Fixed song starting early when paused during countdown

also tweaked something in main menu
This commit is contained in:
Gede Hari
2020-12-10 13:04:36 +08:00
parent 5175f48eba
commit 03b8daea35
2 changed files with 2 additions and 2 deletions

View File

@ -95,7 +95,7 @@ class MainMenuState extends MusicBeatState
override function update(elapsed:Float)
{
if (FlxG.sound.music.volume < 1)
if (FlxG.sound.music.volume < 0.8)
{
FlxG.sound.music.volume += 0.5 * FlxG.elapsed;
}