Merge pull request #68736 from dzil123/main_print_version_top

Move engine version printout to top
This commit is contained in:
Rémi Verschelde 2022-11-17 11:56:28 +01:00
commit 184f26a1ba
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -1932,6 +1932,9 @@ error:
}
Error Main::setup2(Thread::ID p_main_tid_override) {
// Print engine name and version
print_line(String(VERSION_NAME) + " v" + get_full_version_string() + " - " + String(VERSION_WEBSITE));
engine->startup_benchmark_begin_measure("servers");
tsman = memnew(TextServerManager);
@ -1949,9 +1952,6 @@ Error Main::setup2(Thread::ID p_main_tid_override) {
initialize_modules(MODULE_INITIALIZATION_LEVEL_SERVERS);
NativeExtensionManager::get_singleton()->initialize_extensions(NativeExtension::INITIALIZATION_LEVEL_SERVERS);
// Print engine name and version
print_line(String(VERSION_NAME) + " v" + get_full_version_string() + " - " + String(VERSION_WEBSITE));
if (p_main_tid_override) {
Thread::main_thread_id = p_main_tid_override;
}