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:
parent
34d13c61de
commit
89e1cb8258
|
@ -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'));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue