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:
parent
0a19c7a8cb
commit
fcce345454
|
@ -1786,7 +1786,7 @@ class PlayState extends MusicBeatSubState
|
||||||
|
|
||||||
// I am going insane.
|
// I am going insane.
|
||||||
FlxG.sound.music.volume = 1.0;
|
FlxG.sound.music.volume = 1.0;
|
||||||
FlxG.sound.music.fadeTween.cancel();
|
FlxG.sound.music.fadeTween?.cancel();
|
||||||
|
|
||||||
trace('Playing vocals...');
|
trace('Playing vocals...');
|
||||||
add(vocals);
|
add(vocals);
|
||||||
|
|
Loading…
Reference in a new issue