Merge pull request #111601 from AThousandShips/fix_build_objprof

Fix use of outdated macros in ObjectDBProfiler
This commit is contained in:
Thaddeus Crews
2025-10-13 12:30:09 -05:00

View File

@ -168,9 +168,9 @@ Error SnapshotCollector::parse_message(void *p_user, const String &p_msg, const
} }
String SnapshotCollector::get_godot_version_string() { String SnapshotCollector::get_godot_version_string() {
String hash = String(VERSION_HASH); String hash = String(GODOT_VERSION_HASH);
if (hash.length() != 0) { if (hash.length() != 0) {
hash = " " + vformat("[%s]", hash.left(9)); hash = " " + vformat("[%s]", hash.left(9));
} }
return "v" VERSION_FULL_BUILD + hash; return "v" GODOT_VERSION_FULL_BUILD + hash;
} }