diff options
author | Emmanuel Leblond <emmanuel.leblond@gmail.com> | 2022-09-21 00:41:48 +0200 |
---|---|---|
committer | Emmanuel Leblond <emmanuel.leblond@gmail.com> | 2022-09-21 00:41:48 +0200 |
commit | 2ee951cef535b4c8e6994e078e402a9e01b039b8 (patch) | |
tree | 506049e5bb36dafb45adc8e21fcbe17755ae993c /core/extension | |
parent | 1a0943e0f85f05babed460996bfb58823a3e6376 (diff) |
Fix hash mismatch error print in gdextension's gdnative_classdb_get_method_bind
Diffstat (limited to 'core/extension')
-rw-r--r-- | core/extension/gdnative_interface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/extension/gdnative_interface.cpp b/core/extension/gdnative_interface.cpp index 6c680e82c9..67dc55bdb7 100644 --- a/core/extension/gdnative_interface.cpp +++ b/core/extension/gdnative_interface.cpp @@ -884,7 +884,7 @@ static GDNativeMethodBindPtr gdnative_classdb_get_method_bind(const char *p_clas MethodBind *mb = ClassDB::get_method(StringName(p_classname), StringName(p_methodname)); ERR_FAIL_COND_V(!mb, nullptr); if (mb->get_hash() != p_hash) { - ERR_PRINT_ONCE("Hash mismatch for method '" + String(p_classname) + "." + String(p_methodname) + "'."); + ERR_PRINT("Hash mismatch for method '" + String(p_classname) + "." + String(p_methodname) + "'."); return nullptr; } // MethodBind *mb = ClassDB::get_method("Node", "get_name"); |