mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2025-01-21 03:57:44 +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.
|
||||
FlxG.sound.music.volume = 1.0;
|
||||
FlxG.sound.music.fadeTween.cancel();
|
||||
FlxG.sound.music.fadeTween?.cancel();
|
||||
|
||||
trace('Playing vocals...');
|
||||
add(vocals);
|
||||
|
|
Loading…
Reference in a new issue