Funkin/source
Mike Welsh e90c37ad75 Fix issue with incorrect music after pausing during countdown
Whenever you pause gameplay, the `PlayState` pauses the music.
But if you start a song from the main menu, pause during the 3,2,1
countdown, and then unpause, the main menu music will incorrectly
start playing again due to `FlxG.sound.music` still referencing it
before the gameplay song starts playing.

Only restart the music if it was actually playing to begin with by
storing the play state in `PlayState.openSubState` when we pause.

This hopefully avoids any other cases where the pause state gets
pushed while the music is stopped.
2024-02-16 04:54:27 -08:00
..
flixel/addons/transition Fix a boatload of deprecation warnings and upgrade a few libraries. 2024-02-05 19:46:11 -05:00
funkin Fix issue with incorrect music after pausing during countdown 2024-02-16 04:54:27 -08:00
haxe/ui/backend/flixel Convert chart editor to macro-based UIState 2023-11-24 00:42:07 -05:00
Main.hx Ensure the CrashHandler ALWAYS initializes first so we have stack traces. 2024-02-12 18:09:36 -05:00
module.xml Validated formatting of 338 XML files. 2023-06-08 16:34:06 -04:00
Postbuild.hx New crash handler + Additional null safety for ChartEditorState (#130) 2023-08-28 15:03:29 -04:00
Prebuild.hx New crash handler + Additional null safety for ChartEditorState (#130) 2023-08-28 15:03:29 -04:00