From 92ea1c3cca60e5b1b95a0163bf0822c0ec2491cb Mon Sep 17 00:00:00 2001 From: lupoDharkael Date: Wed, 1 May 2019 16:44:31 +0200 Subject: Add godot version in backtrace message --- main/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/main.cpp b/main/main.cpp index fc9ec3b2d9..a994de4ef3 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -353,7 +353,7 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph ClassDB::register_class(); engine->add_singleton(Engine::Singleton("Performance", performance)); - GLOBAL_DEF("debug/settings/crash_handler/message", String("Please include this when reporting the bug on https://github.com/godotengine/godot/issues")); + GLOBAL_DEF("debug/settings/crash_handler/message", "Godot version: " + get_full_version_string() + String("\nPlease include this when reporting the bug on https://github.com/godotengine/godot/issues")); MAIN_PRINT("Main: Parse CMDLine"); -- cgit v1.2.3