1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-11-20 13:53:13 +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);