1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-03 11:50:27 +00:00

Fix use of outdated macros in ObjectDBProfiler

These were renamed but were missed in this PR and fails with disable
deprecated.
This commit is contained in:
A Thousand Ships
2025-10-13 17:25:45 +02:00
parent 4219ce91f2
commit ac05ce5226

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 hash = String(VERSION_HASH);
String hash = String(GODOT_VERSION_HASH);
if (hash.length() != 0) {
hash = " " + vformat("[%s]", hash.left(9));
}
return "v" VERSION_FULL_BUILD + hash;
return "v" GODOT_VERSION_FULL_BUILD + hash;
}