Main::setup2 move print engine version to top

This commit is contained in:
dzil123 2022-11-16 07:05:00 -08:00
parent 89a33d28f0
commit 772d11d340

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;
}