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

Merge pull request #359 from FunkinCrew/bugfix/fadeTween

Avoid null reference error with music
This commit is contained in:
Cameron Taylor 2024-03-04 16:09:32 -05:00 committed by GitHub
commit bb7ed6d85c

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);