mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2025-04-12 06:54:41 -04:00
Merge pull request #359 from FunkinCrew/bugfix/fadeTween
Avoid null reference error with music
This commit is contained in:
commit
bb7ed6d85c
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