mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2025-03-30 22:35:04 +00:00
Merge branch 'gamerbross/chart-editor-key' into rewrite/master
This commit is contained in:
commit
19fd8b5e4e
|
@ -2631,10 +2631,18 @@ class PlayState extends MusicBeatSubState
|
||||||
{
|
{
|
||||||
disableKeys = true;
|
disableKeys = true;
|
||||||
persistentUpdate = false;
|
persistentUpdate = false;
|
||||||
FlxG.switchState(() -> new ChartEditorState(
|
if (isChartingMode)
|
||||||
{
|
{
|
||||||
targetSongId: currentSong.id,
|
FlxG.sound.music?.pause();
|
||||||
}));
|
this.close();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
FlxG.switchState(() -> new ChartEditorState(
|
||||||
|
{
|
||||||
|
targetSongId: currentSong.id,
|
||||||
|
}));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
#end
|
#end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue