浏览代码

GDExtension: Update warning about `gdextension_special_compat_hashes.cpp` to prevent confusion

David Snopek 1 月之前
父节点
当前提交
d0a0d8b798
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      core/extension/gdextension_special_compat_hashes.cpp

+ 1 - 1
core/extension/gdextension_special_compat_hashes.cpp

@@ -63,7 +63,7 @@ bool GDExtensionSpecialCompatHashes::get_legacy_hashes(const StringName &p_class
 			if (p_check_valid) {
 				MethodBind *mb = ClassDB::get_method_with_compatibility(p_class, p_method, mapping.current_hash);
 				if (!mb) {
-					WARN_PRINT(vformat("Compatibility hash %d for %s::%s() mapped to non-existent hash %d. Please update gdextension_special_compat_hashes.cpp.", mapping.legacy_hash, p_class, p_method, mapping.current_hash));
+					WARN_PRINT(vformat("Compatibility hash %d for %s::%s() mapped to non-existent hash %d in gdextension_special_compat_hashes.cpp.", mapping.legacy_hash, p_class, p_method, mapping.current_hash));
 					continue;
 				}
 			}