diff --git a/source/MusicBeatState.hx b/source/MusicBeatState.hx index 0d13d80..5575771 100644 --- a/source/MusicBeatState.hx +++ b/source/MusicBeatState.hx @@ -35,10 +35,12 @@ class MusicBeatState extends FlxUIState public function clean() { if (FlxG.save.data.optimize) + { for(i in assets) { remove(i); } + } } override function create()