Merge pull request #507 from FunkinCrew/bugfix/wednesday-fixes

Bugfix/wednesday fixes
This commit is contained in:
Cameron Taylor 2024-04-24 19:27:00 -04:00 committed by GitHub
commit e72c2ed41b
4 changed files with 9 additions and 1 deletions

View File

@ -239,6 +239,10 @@
<haxedef name="FILE_DROP_SUPPORTED" />
</section>
<!-- Enable this on platforms which do not support the edsior views. -->
<haxedef name="CHART_EDITOR_UNSUPPORTED" if="web" />
<haxedef name="CHART_EDITOR_SUPPORTED" unless="web"/>
<!-- Options for Polymod -->
<section if="polymod">
<!-- Turns on additional debug logging. -->

2
assets

@ -1 +1 @@
Subproject commit 0e07811217c579df376719c76d47c1e08b3070e2
Subproject commit 1d649965f5fcd4d2f83abea1f3f392b42fd0e270

View File

@ -2529,6 +2529,7 @@ class PlayState extends MusicBeatSubState
if (FlxG.keys.justPressed.H) camHUD.visible = !camHUD.visible;
#end
#if CHART_EDITOR_SUPPORTED
// Open the stage editor overlaying the current state.
if (controls.DEBUG_STAGE)
{
@ -2548,6 +2549,7 @@ class PlayState extends MusicBeatSubState
targetSongId: currentSong.id,
}));
}
#end
#if (debug || FORCE_DEBUG_VERSION)
// 1: End the song immediately.

View File

@ -323,10 +323,12 @@ class MainMenuState extends MusicBeatState
}
// Open the debug menu, defaults to ` / ~
#if CHART_EDITOR_SUPPORTED
if (controls.DEBUG_MENU)
{
FlxG.state.openSubState(new DebugMenuSubState());
}
#end
#if (debug || FORCE_DEBUG_VERSION)
if (FlxG.keys.pressed.CONTROL && FlxG.keys.pressed.ALT && FlxG.keys.pressed.SHIFT && FlxG.keys.justPressed.W)