From 378179d1f75dd64f5f02f93744b9c8a5ad6ab925 Mon Sep 17 00:00:00 2001 From: EliteMasterEric Date: Fri, 27 Sep 2024 12:20:36 -0400 Subject: [PATCH] Change crash keybind to Ctrl-Alt-Shift-L --- source/funkin/ui/mainmenu/MainMenuState.hx | 1 + source/funkin/util/plugins/ForceCrashPlugin.hx | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/source/funkin/ui/mainmenu/MainMenuState.hx b/source/funkin/ui/mainmenu/MainMenuState.hx index 8ba85fbba..ee6abc084 100644 --- a/source/funkin/ui/mainmenu/MainMenuState.hx +++ b/source/funkin/ui/mainmenu/MainMenuState.hx @@ -362,6 +362,7 @@ class MainMenuState extends MusicBeatState // Ctrl+Alt+Shift+R = Score/Rank conflict test // Ctrl+Alt+Shift+N = Mark all characters as not seen // Ctrl+Alt+Shift+E = Dump save data + // Ctrl+Alt+Shift+L = Force crash and create a log dump if (FlxG.keys.pressed.CONTROL && FlxG.keys.pressed.ALT && FlxG.keys.pressed.SHIFT && FlxG.keys.justPressed.P) { diff --git a/source/funkin/util/plugins/ForceCrashPlugin.hx b/source/funkin/util/plugins/ForceCrashPlugin.hx index e8094eb3c..6f402c4e0 100644 --- a/source/funkin/util/plugins/ForceCrashPlugin.hx +++ b/source/funkin/util/plugins/ForceCrashPlugin.hx @@ -22,8 +22,8 @@ class ForceCrashPlugin extends FlxBasic { super.update(elapsed); - // Ctrl + Shift + L = Crash the game for debugging purposes - if (FlxG.keys.pressed.CONTROL && FlxG.keys.pressed.SHIFT && FlxG.keys.pressed.L) + // Ctrl + Alt + Shift + L = Crash the game for debugging purposes + if (FlxG.keys.pressed.CONTROL && FlxG.keys.pressed.ALT && FlxG.keys.pressed.SHIFT && FlxG.keys.pressed.L) { // TODO: Make this message 87% funnier. throw "DEBUG: Crashing the game via debug keybind!";