summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlupoDharkael <izhe@hotmail.es>2019-05-01 16:44:31 +0200
committerlupoDharkael <izhe@hotmail.es>2019-05-01 16:52:02 +0200
commit92ea1c3cca60e5b1b95a0163bf0822c0ec2491cb (patch)
treedcab3905b55a815f3ca04f809e15e03ea2126704
parent3cfab06080806f0ea9984e8914f7cd3279a0fa79 (diff)
Add godot version in backtrace message
-rw-r--r--main/main.cpp2
1 files changed, 1 insertions, 1 deletions
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<Performance>();
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");