mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2025-05-22 23:21:29 +00:00
Merge pull request #359 from FunkinCrew/bugfix/fadeTween
Avoid null reference error with music
This commit is contained in:
commit
bb7ed6d85c
|
@ -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