move song end into debug block

This commit is contained in:
MtH 2021-04-21 22:58:36 +02:00
parent 0d076e186a
commit 2afb1a2801
1 changed files with 2 additions and 5 deletions

View File

@ -2086,6 +2086,8 @@ class PlayState extends MusicBeatState
FlxG.switchState(new Charting()); */
#if debug
if (FlxG.keys.justPressed.ONE)
endSong();
if (FlxG.keys.justPressed.EIGHT)
{
/* 8 for opponent char
@ -2342,11 +2344,6 @@ class PlayState extends MusicBeatState
if (!inCutscene)
keyShit();
#if debug
if (FlxG.keys.justPressed.ONE)
endSong();
#end
}
function killCombo():Void