mirror of
https://github.com/godotengine/godot.git
synced 2024-11-22 12:12:28 +00:00
GDExtension: Fix incorrect error message about vararg methods
This commit is contained in:
parent
42425baa59
commit
87cb0bfa50
@ -218,7 +218,7 @@ public:
|
||||
#ifdef TOOLS_ENABLED
|
||||
ERR_FAIL_COND_MSG(!valid, vformat("Cannot call invalid GDExtension method bind '%s'. It's probably cached - you may need to restart Godot.", name));
|
||||
#endif
|
||||
ERR_FAIL_COND_MSG(vararg, "Validated methods don't have ptrcall support. This is most likely an engine bug.");
|
||||
ERR_FAIL_COND_MSG(vararg, "Vararg methods don't have validated call support. This is most likely an engine bug.");
|
||||
GDExtensionClassInstancePtr extension_instance = is_static() ? nullptr : p_object->_get_extension_instance();
|
||||
|
||||
if (validated_call_func) {
|
||||
|
Loading…
Reference in New Issue
Block a user