mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2025-04-03 18:59:42 -04:00
Avoid null reference error with music
This commit is contained in:
parent
0a19c7a8cb
commit
fcce345454
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue