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