diff --git a/doc/classes/ProjectSettings.xml b/doc/classes/ProjectSettings.xml index 25f0a997bad..ad95572bf18 100644 --- a/doc/classes/ProjectSettings.xml +++ b/doc/classes/ProjectSettings.xml @@ -441,8 +441,11 @@ If [code]enabled[/code], prints a warning or an error when assigning the result of a function that returns [code]void[/code] to a variable. - - Message to be displayed before the backtrace when the engine crashes. + + Message to be displayed before the backtrace when the engine crashes. By default, this message is only used in exported projects due to the editor-only override applied to this setting. + + + Editor-only override for [member debug/settings/crash_handler/message]. Does not affect exported projects in debug or release mode. Maximum number of frames per second allowed. The actual number of frames per second may still be below this value if the game is lagging. diff --git a/main/main.cpp b/main/main.cpp index b2667d11e6b..7b5fa79008d 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -603,7 +603,9 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph GLOBAL_DEF_RST("application/run/flush_stdout_on_print.debug", true); GLOBAL_DEF("debug/settings/crash_handler/message", - String("Please include this when reporting the bug on https://github.com/godotengine/godot/issues")); + String("Please include this when reporting the bug to the project developer.")); + GLOBAL_DEF("debug/settings/crash_handler/message.editor", + String("Please include this when reporting the bug on: https://github.com/godotengine/godot/issues")); MAIN_PRINT("Main: Parse CMDLine");