1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-11-10 00:34:40 +00:00
Funkin/source/funkin
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
..
api Reorganize a whole bunch of classes and perform syntax cleanup. 2023-11-07 04:04:22 -05:00
audio Hashlink actually working! 2024-02-13 03:03:11 -05:00
data Merge branch 'rewrite/master' into feature/freeplay-pico-character 2024-02-13 00:41:03 -05:00
graphics swag truthers we are BACK 2024-02-13 03:32:20 -05:00
input Allow builds without hxCodec if using hashlink 2024-01-12 21:52:28 -05:00
modding Add scripted FunkinSprite 2024-02-12 16:50:18 -05:00
play Fix issue with incorrect music after pausing during countdown 2024-02-16 04:54:27 -08:00
save Editor: Removed side sliders. Split vocal volume into two sliders. Removed vocal volume from the savefile. 2024-01-22 23:51:13 -07:00
ui Merge remote-tracking branch 'origin/rewrite/master' into feature/hashlink-hot-reload 2024-02-13 03:06:20 -05:00
util Remove hmm dependency to fix HTML5 target 2024-02-15 00:23:24 -08:00
Conductor.hx removed beatTime nullability? 2024-01-05 17:22:01 -05:00
Highscore.hx Polish note display visuals, and scrap Killer judgement. 2024-01-15 22:10:42 -05:00
import.hx puddle positioning 2023-12-18 20:15:40 -05:00
InitState.hx Hashlink actually working! 2024-02-13 03:03:11 -05:00
Paths.hx Reorganize a whole bunch of classes and perform syntax cleanup. 2023-11-07 04:04:22 -05:00
PlayerSettings.hx Merge branch 'rewrite/master' into rewrite/bugfix/input-issues 2023-11-14 23:21:35 -05:00
Preferences.hx Reorganize a whole bunch of classes and perform syntax cleanup. 2023-11-07 04:04:22 -05:00
Preloader.hx FNFC file rework (includes command line quicklaunch) 2023-10-21 01:04:50 -04:00