i have accidentally done this and wiped out my chart many times
This commit is contained in:
parent
a6948c3a38
commit
6fdc090ecc
|
@ -2548,6 +2548,13 @@ class PlayState extends MusicBeatSubState
|
|||
|
||||
// Redirect to the chart editor playing the current song.
|
||||
if (controls.DEBUG_CHART)
|
||||
{
|
||||
if (isChartingMode)
|
||||
{
|
||||
if (FlxG.sound.music != null) FlxG.sound.music.pause(); // Don't reset song position!
|
||||
PlayState.instance.close(); // This only works because PlayState is a substate!
|
||||
}
|
||||
else
|
||||
{
|
||||
disableKeys = true;
|
||||
persistentUpdate = false;
|
||||
|
@ -2556,6 +2563,7 @@ class PlayState extends MusicBeatSubState
|
|||
targetSongId: currentSong.id,
|
||||
}));
|
||||
}
|
||||
}
|
||||
#end
|
||||
|
||||
#if (debug || FORCE_DEBUG_VERSION)
|
||||
|
|
Loading…
Reference in New Issue