mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2024-11-23 08:07:54 -05:00
Revert change because i forgot to do it in a new branch oriignally lol
This commit is contained in:
parent
2eaea3cdc5
commit
4b500f78e1
1 changed files with 6 additions and 14 deletions
|
@ -2554,13 +2554,6 @@ class PlayState extends MusicBeatSubState
|
||||||
|
|
||||||
// Redirect to the chart editor playing the current song.
|
// Redirect to the chart editor playing the current song.
|
||||||
if (controls.DEBUG_CHART)
|
if (controls.DEBUG_CHART)
|
||||||
{
|
|
||||||
if (isChartingMode)
|
|
||||||
{
|
|
||||||
if (FlxG.sound.music != null) FlxG.sound.music.pause(); // Don't reset song position!
|
|
||||||
this.close(); // This only works because PlayState is a substate!
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
{
|
||||||
disableKeys = true;
|
disableKeys = true;
|
||||||
persistentUpdate = false;
|
persistentUpdate = false;
|
||||||
|
@ -2569,7 +2562,6 @@ class PlayState extends MusicBeatSubState
|
||||||
targetSongId: currentSong.id,
|
targetSongId: currentSong.id,
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
}
|
|
||||||
#end
|
#end
|
||||||
|
|
||||||
#if (debug || FORCE_DEBUG_VERSION)
|
#if (debug || FORCE_DEBUG_VERSION)
|
||||||
|
|
Loading…
Reference in a new issue