fucks
This commit is contained in:
@@ -815,10 +815,11 @@ class PlayState extends MusicBeatState
|
||||
scripts.call("destroy");
|
||||
super.destroy();
|
||||
FlxDestroyUtil.destroy(scripts);
|
||||
instance = null;
|
||||
if (vocals != null) {
|
||||
vocals.destroy();
|
||||
@:privateAccess {
|
||||
FlxG.sound.destroySound(inst);
|
||||
FlxG.sound.destroySound(vocals);
|
||||
}
|
||||
instance = null;
|
||||
}
|
||||
|
||||
public function generateNotes(songData:SwagSong) {
|
||||
@@ -905,6 +906,8 @@ class PlayState extends MusicBeatState
|
||||
vocals.loadEmbedded(Paths.voices(PlayState.SONG.song));
|
||||
FlxG.sound.list.add(vocals);
|
||||
|
||||
inst.persist = vocals.persist = false;
|
||||
|
||||
notes = new NoteGroup();
|
||||
add(notes);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user