From 87cb0bfa50c61edf0f88f14cc95ded4fe865c7fe Mon Sep 17 00:00:00 2001 From: David Snopek Date: Tue, 10 Oct 2023 08:39:35 -0500 Subject: [PATCH] GDExtension: Fix incorrect error message about vararg methods --- core/extension/gdextension.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/extension/gdextension.cpp b/core/extension/gdextension.cpp index 2a287a1816f..fc21fb56228 100644 --- a/core/extension/gdextension.cpp +++ b/core/extension/gdextension.cpp @@ -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) {