1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2025-02-04 02:38:16 +00:00

small null fix for if we're not playing music

This commit is contained in:
Cameron Taylor 2024-09-06 19:44:33 -04:00
parent 34d13c61de
commit 89e1cb8258

View file

@ -103,7 +103,7 @@ class CharacterUnlockState extends MusicBeatState
function handleMusic():Void function handleMusic():Void
{ {
FlxG.sound.music.stop(); FlxG.sound.music?.stop();
FlxG.sound.play(Paths.sound('confirmMenu')); FlxG.sound.play(Paths.sound('confirmMenu'));
} }