skip transition into chart editor

This commit is contained in:
Cameron Taylor 2023-11-21 16:09:13 -05:00
parent 25a66ddbfe
commit 63f65149f7
2 changed files with 4 additions and 1 deletions

2
assets

@ -1 +1 @@
Subproject commit 911327220fe2aeaa08e111992a0fb9410476205f Subproject commit 04ff6aa6ab22f9696932973f1644e5327dc44baa

View file

@ -8,6 +8,7 @@ import funkin.ui.TextMenuList;
import funkin.ui.debug.charting.ChartEditorState; import funkin.ui.debug.charting.ChartEditorState;
import funkin.ui.MusicBeatSubState; import funkin.ui.MusicBeatSubState;
import funkin.util.logging.CrashHandler; import funkin.util.logging.CrashHandler;
import flixel.addons.transition.FlxTransitionableState;
class DebugMenuSubState extends MusicBeatSubState class DebugMenuSubState extends MusicBeatSubState
{ {
@ -84,6 +85,8 @@ class DebugMenuSubState extends MusicBeatSubState
function openChartEditor() function openChartEditor()
{ {
FlxTransitionableState.skipNextTransIn = true;
FlxG.switchState(new ChartEditorState()); FlxG.switchState(new ChartEditorState());
} }