From 175e5bcf4ec0047b7f47399feff708b38416797c Mon Sep 17 00:00:00 2001 From: Raul Santos Date: Sat, 22 Jun 2024 08:05:46 +0200 Subject: [PATCH] Lookup method also in base scripts of a PlaceHolderScriptInstance --- core/object/script_language.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/core/object/script_language.cpp b/core/object/script_language.cpp index eb7d560a5d5..0b528e908a8 100644 --- a/core/object/script_language.cpp +++ b/core/object/script_language.cpp @@ -697,7 +697,13 @@ bool PlaceHolderScriptInstance::has_method(const StringName &p_method) const { } if (script.is_valid()) { - return script->has_method(p_method); + Ref