mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2025-02-16 20:01:49 -05:00
freeplay optimization
This commit is contained in:
parent
34a6e16385
commit
3810662f9f
1 changed files with 5 additions and 0 deletions
|
@ -527,6 +527,9 @@ class FreeplayState extends MusicBeatSubState
|
|||
orangeBackShit.visible = true;
|
||||
alsoOrangeLOL.visible = true;
|
||||
grpTxtScrolls.visible = true;
|
||||
|
||||
// render optimisation
|
||||
_parentState.persistentDraw = false;
|
||||
});
|
||||
|
||||
generateSongList(null, false);
|
||||
|
@ -985,6 +988,8 @@ class FreeplayState extends MusicBeatSubState
|
|||
{
|
||||
clearDaCache(daSong.songName);
|
||||
}
|
||||
// remove and destroy freeplay camera
|
||||
FlxG.cameras.remove(FlxG.cameras.list[FlxG.cameras.list.length - 1]);
|
||||
}
|
||||
|
||||
function changeDiff(change:Int = 0, force:Bool = false):Void
|
||||
|
|
Loading…
Reference in a new issue