From 2afb1a2801580140d7c88d031434cca66fd59be0 Mon Sep 17 00:00:00 2001 From: MtH Date: Wed, 21 Apr 2021 22:58:36 +0200 Subject: [PATCH] move song end into debug block --- source/PlayState.hx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/source/PlayState.hx b/source/PlayState.hx index 36cd9fe7e..14f8b165b 100644 --- a/source/PlayState.hx +++ b/source/PlayState.hx @@ -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