1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-10-03 15:59:04 +00:00

Avoid null reference error with music

This commit is contained in:
Mike Welsh 2024-03-04 02:26:38 -08:00
parent 0a19c7a8cb
commit fcce345454

View file

@ -1786,7 +1786,7 @@ class PlayState extends MusicBeatSubState
// I am going insane.
FlxG.sound.music.volume = 1.0;
FlxG.sound.music.fadeTween.cancel();
FlxG.sound.music.fadeTween?.cancel();
trace('Playing vocals...');
add(vocals);